0
How to fix "iostream.h no such file directory)"
2 Answers
+ 2
Keep it simple, remove ".h" from iostream, you are missing the "using namespace std;" Also give main() the return type int and before end of main() return 0;
Edit: Please remove getch() as well. Remember what you use is generally used in the turbo C++ compiler which are pretty old and are not supported by new compilers.