原创 c++ 編譯問題

一個簡單的vector 的c++ 程序, 編譯錯誤#include <vector>int main(){std::vector<int> vet;}

原创 關於 #include 的位置

是放在*.h or *.c 裏面? * 如果是*.h 的內容要用到#include,就需要放到*.h裏面 * 否則,放到*.c

原创 如何查看BT (BlueTooth) 的信息

lsusb -vvbluez下面hciconfig hcitool

原创 ERROR: Unable to identify a valid CodeWarrior for

ActivePerl-5.6.1.638S60-SDK-200634-3.1Carbide.c++_v1.3Building an applicati

原创 usb mass storage

refer to http://www.linux-usb.org/gadget/file_storage.html

原创 函數的聲明 (Too Much Default Visibility)

函數的使用範圍應該得到最大程度的限制,而不是default 的 globle。如果不想 global ,就應該在前面加上static (only 在本

原创 how to make zaurus(C750) recognize the 2G SD Card

Install 〔Zentek SD-Link11b Zaurus Driver 〕 之後reboot就可以識別了 2G SD Card 了downl

原创 How to make root file system image file

Refer to : http://topic.csdn.net/t/20051103/17/4369767.html# http://en.wiki

原创 about malloc

做了一個調用malloc 分配memory 的小程序.執行之後,top/ ps -A -o pcpu,pmem,cmd發現memory 沒有分配。在m

原创 Linux 2.6.18 下安裝 usb 無線網卡(zd1211)

[設備採購] SAGEM XG-760A chipset :zd1211 價格:30RMB 新舊程度:舊 使用狀況:良好 http://auction

原创 return value of GTK callback function

False:如果你想在你的Callback 之後繼續把signal 傳遞給system繼續處理True:如果你想到此爲止(不再把signal 傳遞給s

原创 config sound card in Dell laptop (Latitude LS)

# install alsa utiltyapt-get install alsa-utils# view dmesg and lspci to co

原创 多維pointer 如何free

free 的方法與之前如何 alloc的相關。 * 如果之前是 一次alloc(例如:指向一個二維數組 char ** p = new char

原创 如何查看wifi 的 frequency 和 out power

iwconfig 的輸出中有 frequency 和 Tx-power

原创 如何生成 xorg.conf

Xorg -configure