Time of Update: 2014-08-11
標籤:android style os 時間 學習 c語言 on 資訊 由於工大某些傳統,暑假放一個月,想想有很多事情要做,而且回去也是熱著,倒不如不回家了,在哈爾濱正好避暑,又能輕輕鬆鬆的吧事情做了,暑假還能有個好的休息,這樣
Time of Update: 2014-08-11
標籤:c++程式學習(二)1.C++資料類型自訂:#include <iostream> int main(){ typedef char Name[20];Name a,b;std::cout<<typeid(a).name()<<typeid(b).name();std
Time of Update: 2014-08-11
標籤:des style blog http color 資料 2014 ar 1, a++與++a 2,int a[10] ;int* p = (int*)(&a + 1 ) ;&a 是數組指標,
Time of Update: 2014-08-11
標籤:style color 使用 os io 檔案 資料 for 連結上一篇日誌,下面介紹下C++裡面的其他內容 補充上一屆裡面的異常處理代碼: try { cout << "try
Time of Update: 2014-08-10
標籤:const c++ 在c++中,const是這麼一個東西:如果你希望能夠有一些東西是別人不能修改的,這個時候const就起作用了。const 在使用方式如下:a.修飾常量const int a;int const a; 這裡不論const放什麼位置,效果其實都一樣的。b.修飾指標:const double
Time of Update: 2014-08-10
標籤:靜態初始化 順序 這兩天項目代碼中遇到一個很疑惑的問題,問題可以描述為:一個靜態成員初始化的時候直接core掉,該靜態成員初始化時通過另外一個檔案中靜態成員來完成。該問題同樣發生在全域對象上。該問題可以描述為今天要討論的:變數的靜態初始化順序。具體可以用代碼簡述如下://test1.cpp#include <string>std::string a = "tes
Time of Update: 2014-08-10
標籤:style color io ar line amp size rgb 輸入一個英文句子,翻轉句子中單詞的順序,但單詞內字元的順序不變。句子中單詞以空格符隔開。
Time of Update: 2014-08-10
標籤:style strong 問題 時間 size 程式 c語言 字串 在面試的過程中,有很多的考驗對c的認識的情況,有時會被問到有關字元搭配以及運算先後順序的問題,比如a+++++b的
Time of Update: 2014-08-10
標籤:style blog http color 使用 io strong 資料 在C#中數組,ArrayList,List都能夠儲存一組對象,那麼這三者到底有什麼樣的區別呢。數組 數組在C#
Time of Update: 2014-08-11
標籤:style blog for art ar div 代碼 時間 接觸委託 代理 delegate很久啦。除了看API,Kotoba也給我講了
Time of Update: 2014-08-11
標籤:style blog http color 使用 io strong art 在C#中,所有的東西都是對象。因此任何常數也是一個整型對象。這裡用到了as,as是C#語言裡面的一個關鍵字。as運算子類似於類型轉換,所不同的是
Time of Update: 2014-08-10
標籤:style color os io 檔案 new size res 常見並常用的stream一共有檔案流(FileStream),記憶體流(MemoryStream),壓縮流(GZipStream),加密流(CrypToS
Time of Update: 2014-08-10
標籤:style blog http color 使用 io for 2014 c#常用的字串函數例一:擷取字串的大小寫函數ToLower():得到字串的小寫形式ToUpper():得到字串的大寫形式注意:字串時不可變的,所以這
Time of Update: 2014-08-10
標籤:style blog http color 使用 io 2014 ar 1.C#中單個的字串用單引號包含就是char類型,(‘a‘),單引號中放且只能放一個字元2.單個字元也可以表示為字串,還可以有長度為0的字串。3.使用
Time of Update: 2014-08-10
標籤:style 使用 io strong 資料 ar 問題 cti 在C#中數組,ArrayList,List都能夠儲存一組對象,那麼這三者到底有什麼樣的區別呢。數組 數組在C#
Time of Update: 2014-08-10
標籤:style blog http color os io for art 啊 .... 這次的CF我正好沒去做啊=-= 那晚 電腦突然神經質了 各種網頁超慢開啟。。。更坑的是 持續了1個多小時
Time of Update: 2014-08-09
標籤:style blog color io for div amp 演算法 知識點:數組靈活運用for迴圈靈活運用簡單的演算法 內容: 從 n
Time of Update: 2014-08-09
標籤:des style blog http os io for 2014 Problem DescriptionPM Room defines a sequence A = {A1, A2,..., AN}, each of
Time of Update: 2014-08-09
標籤:des style blog color os io 檔案 2014 相關的方法:int fputs(const char*s,FILE *stream);int gets(char *s,int
Time of Update: 2014-08-09
標籤:des style blog color os io strong for