虛擬碼(Pseudocode)原文:《Pseudocode 》by Naomi Nishimura劉建文略譯(http://blog.csdn.net/keminlau) In the text and lectures, algorithms will often be expressed in pseudocode, a mixture of code and English (for specific not necessarily good examples of particular
by sjyuhusun 鑒於本人在此走過彎路及探索,為了大家少走彎路,現小結一下移植(porting)的林林總總,供大家參考,不足之處還望前輩們多多指教。以C code移植到symbian中為例:因原c程式功能所限,我在vc6中用嚮導產生了一個exe程式。1。將原C程式的所有.C檔案放到/src/目錄下,將所有.h檔案放到/inc/目錄下2。edit the mmp file.
============================================================博文原創,轉載請聲明出處電子咖啡(原id藍岩)============================================================opengl紅寶書運行出現錯誤:2013-04-11 21:45:20.941 OpenglBook[3478:303] GLUT Fatal Error: pixel format with necessary
============================================================博文原創,轉載請聲明出處電子咖啡(原id藍岩)============================================================JNI jstring 和char* 的相互轉換/+++++++++++++++++++++++++//jstring to char*//NOTICE: you need free return
以CString的Format舉例,第一個參數是格式化字串,就像printf的第一個參數一樣,用%d表示int,%s表示char*,%u表示unsigned int,%hd表示short,%hu表示unsigned short,%hhd表示char,%hhu表示unsigned char,%f表示float等。後面的參數就是與格式化字串中每個欄位對應的類型變數。舉例:int a = 10;int b = 100;CString str;str.Format("%d*%d=%d\n", a,