foo.cc: In function ‘void Bub(std::vector<Vector3>&, int)’:
foo.cc:21:35: error: expected ‘)’ before ‘)’
21 | for (int i = 0; i < n; i++){
| ~ ^~
| )
foo.cc:21:35: error: ‘)’ was not declared in this scope
21 | for (int i = 0; i < n; i++){
| ^~
foo.cc: In function ‘int main()’:
foo.cc:41:35: error: expected ‘)’ before ‘)’
41 | for (int i = 0; i < k; i++){
| ~ ^~
| )
foo.cc:41:35: error: ‘)’ was not declared in this scope
41 | for (int i = 0; i < k; i++){
| ^~
foo.cc:49:35: error: expected ‘)’ before ‘)’
49 | for (int j = 0; j < k; j++){output(a[j]);};
| ~ ^~
| )
foo.cc:49:35: error: ‘)’ was not declared in this scope
49 | for (int j = 0; j < k; j++){output(a[j]);};
| ^~