闲言碎语 - xiaq's Blog

Excerpt from SQLite source code

/************** Begin file sqliteInt.h ***************************************/
/*
** 2001 September 15
**
** The author disclaims copyright to this source code.  In place of
** a legal notice, here is a blessing:
**
**    May you do good and not evil.
**    May you find forgiveness for yourself and forgive others.
**    May you share freely, never taking more than you give.
**
*************************************************************************
** Internal interface definitions for SQLite.
**
*/

C++ 小学期第一天吐槽点集合

为了满足自己的吐槽需求,特将今天的课的吐槽点列举如下……

NOTICE: 此条目需要补充更多来源

  • 老师曰,C++ 比 C 强大,更适合用来构建大型软件。实际上,C 依然经常被用来构建大型软件[1]。因为 C++ 虽然有更多特性,但是太乱了……所以有些人宁愿用相对简单的 C。
  • 老师曰,Apple、Google 和 AT&T 用得最多的都是 C++。事实上,Apple 的主力开发语言是 Objective-C,而 Google 则是 Java 和 Python。AT&T 我就不是很了解了……
  • 老师貌似不知道我说的外部连接是啥意思。老师问我,哪些东西放在 .h 文件里面哪些放在 .c 里面,我说具有外部连接的就放在 .h 文件里面。老师说我说得不全对,然后用他的话把外部连接解释了一次。。
  • 老师曰,C 的 char 类型是有符号(signed)的。实际上,char 类型可能是 signed 也可能是 unsigned,C 的标准对此没有规定。例如,据 ZZ 所说,gcc 的 charunsigned char,而 VC 的 char 是 signed char。(UPDATE: gcc 的 char 是 signed char。)
     

附注

  1. Programming Language Popularity 针对各大语言的采用比率给出了详细的统计。




Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee