Problem | gecko |
---|---|
User | 2Princes1Lance |
Submission Time | 2023-12-17 13:21:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gecko.cpp: In function ‘int main()’:
gecko.cpp:6:2: error: ‘ifstream’ was not declared in this scope; did you mean ‘std::ifstream’?
6 | ifstream input("GECKO.IN"); std::ofstream output("GECKO.OUT")}
| ^~~~~~~~
| std::ifstream
In file included from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/fstream:38,
from gecko.cpp:1:
/usr/include/c++/9/iosfwd:162:34: note: ‘std::ifstream’ declared here
162 | typedef basic_ifstream<char> ifstream;
| ^~~~~~~~
gecko.cpp:6:63: error: expected ‘,’ or ‘;’ before ‘}’ token
6 | ifstream input("GECKO.IN"); std::ofstream output("GECKO.OUT")}
| ^