Problem | ccs |
---|---|
User | dacashew |
Submission Time | 2023-07-25 11:16:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘std::string stringsplit(std::string, std::string, int)’:
ccs.cpp:14:23: error: ‘countdelimiter’ was not declared in this scope; did you mean ‘delimiter’?
14 | int delimitercount = countdelimiter(inputstring, delimiter); // Count number of delimiters
| ^~~~~~~~~~~~~~
| delimiter
ccs.cpp: In function ‘int main()’:
ccs.cpp:49:27: error: expected ‘;’ before ‘if’
49 | eventfile.open(filename)
| ^
| ;
50 | if (eventfile.is_open()) {
| ~~
ccs.cpp:91:5: error: ‘else’ without a previous ‘if’
91 | } else {
| ^~~~