I'm sure there is an explanation somewhere in this forum for my problem, but I just spent the last 2.5 hours looking here and the ret of the Internet and I just can't find a satisfactory answer.
I recently installed codeblocks and after finally figuring out that I apparently have to create a new project inside of a new project, which still makes no sense, I keep receiving an error message telling me that there is no such directory as iostream when I try to make the statement #include <iostream>. In addition, there is also an error message returned because of my next statement, using namespace std; which is according to codeblocks, is missing a series of characters between the words using and namespace. I am assuming that one of these problems is a direct result of the other but I just can't figure it out.
The code is as follows
#include <iostream >
using namespace std;
the error msgs read:
error: iostream : no such file or directory
error: expected '=', ',', ';', 'asm', or '__attribute__', before 'namespace'
I also have jcreator installed on my computer, any chance codeblocks could be searching the wrong library?