看板 EE_DSnP 關於我們 聯絡資訊
If you encounter problem in compiling: _toVertecies = new (Vertex *)[n]; >> error: array bound forbidden after parenthesized Try: _toVertecies = new Vertex *[n]; -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.128.162
lionel20002:為什麼會這樣?(error message看不懂) 12/16 22:21
lionel20002:vector也是 寫vector<vector<int>>或 12/16 22:22
lionel20002:vector<(vector<int>)>都不過 12/16 22:22
lionel20002:只能寫vector<vector<int> > 12/16 22:23
ric2k1:vector<vector<int>> <== 被視為 ">>" operator 12/16 23:57
timrau:vector<vector<int>> 最右邊會被當成operator>> 12/16 23:57
ilway25:這個問題我也遇過... 12/17 12:51