討論串[問題] 關於static用法
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者wenyonba (粉絲?!)時間11年前 (2014/11/28 21:41), 編輯資訊
0
0
1
內容預覽:
我記得一個 class 的 static 成員,. 除了在 *.h file 裡被 declare 之外,. 還必須在 *.cpp file 裡被 define。. Card.h. private:. static string suitDict[4];. Card.cpp. string Card
(還有59個字)

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者wandering25 (晃晃)時間11年前 (2014/11/28 18:38), 編輯資訊
0
0
1
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). VC++. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question):. 大家好. 我是剛學C++的新手. 剛學到class的部分. 剛在寫作業時遇到一個
(還有1462個字)
首頁
上一頁
1
下一頁
尾頁