Hello,
I'm just starting to learn C++ and installed Codeblocks. I copied the HelloWorld program but immediately get an error:
C:\Users\...\New folder\Untitled5.c|2|fatal error: iostream: No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
This is the program:
// my first program in C++
#include <iostream>
int main()
{
std::cout << "Hello World!";
}
I'm think the error lies in the standard libraries not being included in the build path, but I'm not sure which directories to include. Any ideas?
Thanks in advance!