vision.cpp:1:5: error: expected unqualified-id before 'for'
1 | for (int j = 0; j < W; j++) {
| ^~~
vision.cpp:1:25: error: 'W' was not declared in this scope
1 | for (int j = 0; j < W; j++) {
| ^
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:25: error: 'W' was not declared in this scope
vision.cpp:1:21: error: 'j' does not name a type
1 | for (int j = 0; j < W; j++) {
| ^
vision.cpp:1:28: error: 'j' does not name a type
1 | for (int j = 0; j < W; j++) {
| ^
vision.cpp:23:5: error: expected declaration before '}' token
23 | }
| ^
vision.cpp:25:11: error: expected constructor, destructor, or type conversion before '(' token
25 | add_or(imp);
| ^
vision.cpp:26:5: error: 'inst' does not name a type; did you mean 'int'?
26 | inst++;
| ^~~~
| int
vision.cpp:27:1: error: expected declaration before '}' token
27 | }
| ^