code.club's Archiver
論壇
›
OpenFrameworks
› 有關of無法宣告變數放在變數裡的情形
return
發表於 2015-12-29 16:06:14
有關of無法宣告變數放在變數裡的情形
例如
int x = 10;
int arr;
這是不被允許的,只能用 #define x 10
int arr;
但在 C++裡,int x=10; arr; 是可以的。
而processing則是 int x = 10;
int[] arr = new int;
也是可以的。
頁:
[1]
查看完整版本:
有關of無法宣告變數放在變數裡的情形