討論串[問題] include
共 6 篇文章
首頁
上一頁
1
2
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者larkes (larkes)時間11年前 (2014/03/06 00:32), 編輯資訊
0
0
0
內容預覽:
謝謝指教~. 不好意思問一下,. 那...如果是使用DevC++時,有辦法設定類似這樣的編譯器參數嗎?. 該如何設定呢?. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 118.163.38.13. 編輯: larkes 來自: 118.163.38.13 (03/06

推噓2(2推 0噓 6→)留言8則,0人參與, 最新作者larkes (larkes)時間11年前 (2014/03/04 19:34), 編輯資訊
0
0
0
內容預覽:
不好意思我順便問一個新手問題喔.... 假設工作目錄改成這個:. /home/user. /home/user/proj/file1.h. /home/user/proj/file1.c. /home/user/other_src/file2.c. /home/user/other_src/file
(還有62個字)

推噓0(0推 0噓 3→)留言3則,0人參與, 最新作者indept (真人)時間12年前 (2013/03/02 16:13), 編輯資訊
0
0
0
內容預覽:
我在 ubuntu 10.04 上用 gcc compile, 這是. 就一個下載的大 project, xxx.tar.gz, 增加一些小的額外的功能. 假設工作目錄, Makefile 在. /home/user. /home/user/proj/file1.h. /home/user/proj
(還有348個字)

推噓1(1推 0噓 6→)留言7則,0人參與, 最新作者QQ29 (我愛阿蓉)時間15年前 (2010/06/19 01:30), 編輯資訊
0
0
0
內容預覽:
//a.h. #ifndef A_H. #define A_H. class B;. class A. {. public:. A();. void print(){}. private:. B* _b;. };. #endif. //b.h. #ifndef B_H. #define B_H. c
(還有249個字)

推噓2(2推 0噓 4→)留言6則,0人參與, 最新作者rockwalking (技安)時間15年前 (2010/06/19 01:13), 編輯資訊
0
0
0
內容預覽:
遇到兩個.h檔必須要互相include對方時發生的問題. //a.h. #ifndef A_H. #define A_H. #include "b.h". class A. {. A(){_b = new B(this);}. void print(){}. private:. B* _b;. };
(還有364個字)
首頁
上一頁
1
2
下一頁
尾頁