原创 錯誤: expected specifier-qualifier-list before ‘GTypeInstance’

錯誤: expected specifier-qualifier-list before ‘GTypeInstance’ 錯誤: expected specifier-qualifier-list before ‘GTypeClass’

原创 [轉]Linux面試題

From: http://blog.chinaunix.net/u3/101356/showart.php?id=2120288   一.填空題: 1. 在Linux 系統 中,以 文件 方式訪問設備 。 2.

原创 c++ 中的引用

函數返回值是個引用,表示這個函數的調用可以被賦值。 例如 struct hdr_cmn { .......... inline packet_t& ptype() { return (ptype_); } .......... }   v

原创 gcc 參數

  加-Wall參數,是gcc能夠產生儘可能多的警告信息   -g   在編譯的時候,產生調試信息。   -o     參數用來指定生成程序的名字

原创 爲NS安裝Kdevelop調試器

按照 http://www.baisi.net/thread-1617581-1-1.html 上安裝NS的Kdevelop時, 出錯說“Can''t write project file”。 原來是權限的問題。 project file

原创 Linux gets first driver for USB 3.0

 The NEC USB 3.0 controller is due to (預期的;應到的;預定的) hit the streets this month, and already Sarah Sharp (the, um, "Gee

原创 otcl 成員變量和成員函數的定義

% Class Animal Animal % Animal animal_1 animal_1 % animal info class Animal % animal_1 info class Animal % Animal info

原创 gcc warning: warning: 'tick' may be used uninitialized in this function

 是因爲沒有初始化tick   詳見 http://blog.csdn.net/max415/archive/2008/05/17/2454165.aspx

原创 make:No rule to make target

make: *** No rule to make target `build/XXXx86_prod/obj/main.o', needed by `build/XXX_prod/com.xxx.XXX.reading4/libxxx_