作為具有python背景的人,當我第一次看到 for ( : ) 迴圈時,我感到非常驚訝: vector<int> vec = {1,2,3,4}; int sum = 0; for (int i : vec){ sum += ...
確定! 回上一頁