I am writing a c++ code (or any sort of code for that matter) after one complete year. And yet I don't think I could have become so bad that I can't make a Hello World program. Still, here I am with so many errors.
Here's the code:-
May 21, 2017 First of all, Dev C is not a compiler, it's an IDE that interfaces with a compiler (most presumably GCC/MingW in your case). The compiler suite is the one having the header files, not the IDE. I am writing a c code (or any sort of code for that matter) after one complete year. And yet I don't think I could have become so bad that I.
Error Conio No Such File Or Directory In Dev C Windows 10
Here are the errors I am getting :-
C:Documents and Settingsjay mata diMy Documentsc++hello.c|1|error: iostream.h: No such file or directory|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|3|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'|
C:Documents and Settingsjay mata diMy Documentsc++hello.c||In function 'main':|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|7|error: 'cout' undeclared (first use in this function)|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|7|error: (Each undeclared identifier is reported only once|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|7|error: for each function it appears in.)|
|| Build finished: 5 errors, 0 warnings |
Error Graphics.h No Such File Or Directory In Dev C++
I guess the problem's with the compiler or my computer (I am using codeblocks.) I ran the program online. It ran just fine. How can I rectify it?
- 4 Contributors
- forum 8 Replies
- 1,945 Views
- 1 Year Discussion Span
- commentLatest Postby pc75Latest Post