I've just installed Dev-C 5.11 on Windows 7 64 bits. I can compile and execute the program just fine. I can add a watchpoint and go step by step, BUT if I add a Watch to see a variable, the debug freezes. I hit F7 and it won't advance any step further. I'm using default compiler (TDM-GCC 4.9.2 64bit) and added -g on Compiler options. May 20, 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. Just do code#include /codeinstead of c. Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Log In Sign Up Read Contribute Search. Forum Categories. 'error: iostream: no such file or directory' and other errors. Programming Forum. Winscard.h no such file or directory in dev c; no such file or directory found for include windows.h; Fatal error: iostream: No such file. Feb 02, 2013 Now if you compile the source myfile.cpp from the src directory, you will get the 'No such file or directory' error message. The C compiler knows nothing about the directory structures of your project, and won’t look in the inc directory for the header. You need to tell it to look there somehow.
I guess you're using windows 7 with the Orwell Dev CPP. Dev c++ latest version free download for windows 10. This version of Dev CPP is good for windows 8 only. However on Windows 7 you need the older version of it which is devcpp-4.9.9.2setup.exe Download it from the link and use it. (Don't forget to uninstall any other version already installed on your pc) Also note that the older version does not work with windows 8. Nov 27, 2017 fail to open recovery cause (no such file or directory) solve (all model) - Duration: 12:24. Srk's universal Recommended for you.
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:-
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
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,957 Views
- 1 Year Discussion Span
- commentLatest Postby pc75Latest Post