prog.cpp: In function ‘int main()’:
prog.cpp:4:5: error: ‘cin’ was not declared in this scope
cin >> i;
^~~
prog.cpp:5:26: error: ‘EOF’ was not declared in this scope
while(i!= '\n' && i!=EOF){
^~~
prog.cpp:6:9: error: ‘cout’ was not declared in this scope
cout << i << endl;
^~~~
prog.cpp:6:22: error: ‘endl’ was not declared in this scope
cout << i << endl;
^~~~
prog.cpp:24:5: error: ‘cout’ was not declared in this scope
cout << "fl: " << fl << endl;
^~~~
prog.cpp:24:29: error: ‘endl’ was not declared in this scope
cout << "fl: " << fl << endl;
^~~~