討論串[問題] 標頭檔的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 7→)留言8則,0人參與, 4年前最新作者nh60211as (xXx_5354M3_31M0_xXx)時間4年前 (2021/01/18 23:55), 4年前編輯資訊
0
1
6
內容預覽:
namespace glm. {. struct vec2. {. vec2(double x_, double y_):x(x_), y(y_) {}. double x;. double y;. };. }. class polygon. {. public:. polygon() {}. po
(還有2104個字)

推噓2(2推 0噓 9→)留言11則,0人參與, 4年前最新作者shiburin (希布凜)時間4年前 (2021/01/18 16:33), 4年前編輯資訊
0
1
0
內容預覽:
問題(Question):. 無法使用 header 裡 class 的變數. 錯誤結果(Wrong Output):. ...does not name a type.... 程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔). header file:. #include<vec
(還有426個字)
首頁
上一頁
1
下一頁
尾頁