討論串[問題] 標頭檔的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
namespace glm. {. struct vec2. {. vec2(double x_, double y_):x(x_), y(y_) {}. double x;. double y;. };. }. class polygon. {. public:. polygon() {}. po
(還有2104個字)
內容預覽:
問題(Question):. 無法使用 header 裡 class 的變數. 錯誤結果(Wrong Output):. ...does not name a type.... 程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔). header file:. #include<vec
(還有426個字)
首頁
上一頁
1
下一頁
尾頁