cmp.cpp: In function 'int bit_get(int)':
cmp.cpp:4:8: error: 'boiPhase' was not declared in this scope
if(boiPhase == 1) {
^~~~~~~~
cmp.cpp:5:17: error: 'stderr' was not declared in this scope
fprintf(stderr, "ZERO POINTS: bit_get called by remember()\n");
^~~~~~
cmp.cpp:5:9: error: 'fprintf' was not declared in this scope
fprintf(stderr, "ZERO POINTS: bit_get called by remember()\n");
^~~~~~~
cmp.cpp:6:9: error: 'exit' was not declared in this scope
exit(1);
^~~~
cmp.cpp:9:5: error: 'boiAccesses' was not declared in this scope
boiAccesses++;
^~~~~~~~~~~
cmp.cpp:11:17: error: 'stderr' was not declared in this scope
fprintf(stderr, "ZERO POINTS: bit_get with address out of range\n");
^~~~~~
cmp.cpp:11:9: error: 'fprintf' was not declared in this scope
fprintf(stderr, "ZERO POINTS: bit_get with address out of range\n");
^~~~~~~
cmp.cpp:12:9: error: 'exit' was not declared in this scope
exit(1);
^~~~
cmp.cpp:14:12: error: 'boiMem' was not declared in this scope
return boiMem[boi_guessval][addr]?1:0;
^~~~~~
cmp.cpp:14:19: error: 'boi_guessval' was not declared in this scope
return boiMem[boi_guessval][addr]?1:0;
^~~~~~~~~~~~