0

This code for Code Playground is error?Why?

#include <fstream> #include <iostream> using namespace std; int main() { ifstream fin("a.csv"); // a.csv = 1,2,3,4,5 if(!fin) {cout<<"my opening error"<<endl; return 1;} fin.close(); return 0; }

20th Jan 2018, 11:15 AM
stamb
stamb - avatar
2 Answers
+ 35
You can't use your own external files in C++ Code Playground.
20th Jan 2018, 11:23 AM
Igor Makarsky
Igor Makarsky - avatar
0
Mis... I can to write my own files!
20th Jan 2018, 11:58 AM
stamb
stamb - avatar