Problem nile
User wrizz69
Submission Time 2024-12-13 21:00:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nile.cpp: In function ‘FILE* openFile(const char*, const char*)’:
nile.cpp:14:2: error: ‘closeOnHalt’ was not declared in this scope
14 | closeOnHalt(file);
| ^~~~~~~~~~~
nile.cpp: In function ‘void registerManager(std::string, int, int, char**)’:
nile.cpp:66:2: error: ‘closeOnHalt’ was not declared in this scope
66 | closeOnHalt(stdout);
| ^~~~~~~~~~~
nile.cpp: In function ‘void die_invalid_argument(const string&)’:
nile.cpp:160:2: error: ‘RESULT_MESSAGE_WRONG’ was not declared in this scope
160 | RESULT_MESSAGE_WRONG += ": Invalid argument";
| ^~~~~~~~~~~~~~~~~~~~
nile.cpp: In function ‘void die_too_many_calls(const string&)’:
nile.cpp:165:2: error: ‘RESULT_MESSAGE_WRONG’ was not declared in this scope
165 | RESULT_MESSAGE_WRONG += ": Too many calls";
| ^~~~~~~~~~~~~~~~~~~~
nile.cpp: In function ‘void read_secret()’:
nile.cpp:191:7: error: ‘_pv’ was not declared in this scope; did you mean ‘_