討論串[問題] 想請問關於vector
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者Benedy (小班)時間14年前 (2011/11/20 22:41), 編輯資訊
0
0
0
內容預覽:
typedef struct {. vector<int> int_vector;. vector<float> float_vector;. } retval_t;. retval_t NoximRouter::routingFunction (const NoximRouteData &rout

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者sean823823 (eojdkf)時間14年前 (2011/11/20 22:18), 編輯資訊
0
0
0
內容預覽:
vector < int >NoximRouter::routingFunction(const NoximRouteData & route_data). 這行程式的回傳值型態為vector < int >. 請問可否回傳兩個值或兩個值以上嗎?. 如果可以,如何回傳?. 謝謝!!!!!. --.
首頁
上一頁
1
下一頁
尾頁