User forums > Help
#include <iostream> NO such File or Directory
monsto:
anything. i started by trying to make it something relevant to what i was doing (lesson, learn1, learncpp, etc) but eventually i gave up and settled for the suggested Untitled12
Jenna:
The ending has to be cpp or cxx, to make the compiler detect it as c++-file.
monsto:
great. thanks.
1) in the scenario above, how would that be accomplished? do i need to choose a different new file type or just rename the file?
2) how would a person new to c++ find how to have the ide run as what tutorials expect to be default behaviour?
Jenna:
You can rename it, but you might have to close and reopen the project.
If you are new to c++, you should buy you a good book or find a good online-tutorial or forum.
This forum is not dedicated to teaching beginners how to program or how to use a compiler.
Without basic knowledge you will have problems with almost every IDE.
monsto:
i have done that.
the tutorials on learncpp.com nor the examples in sams "c++ in 24hrs" had expectation issues with the other couple of ide's i tried after encountering this... Dev-C++ for example.
it's not my lack of c++ knowledge that is at issue, it's the expected default behaiviour of codeblocks. It is unexpected that i'd need to rename a file during the "open new file" process.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version