I'm currently trying codeblocks for my c++ programming but i'm having trouble getting it to compile, i have not had this problem in the past and i've only developed it recently, i have searched google in vain for a solution and the closest i came was Code::Blocks Compilation Errors which did not fix my problem i have tried numerous times to uninstall and install both codeblocks and mingw. the error is:
1|fatal error: iostream: No such file or directory|
||=== Build finished: 1 errors, 0 warnings (0 minutes, 0 seconds) ===|
it's just a basic hello world program in my settings i have the c++ compiler listed as mingw32-g++.exe. i have been trying for days to get this to work, please help.
#include <iostream>
using namespace std;
int main()
{
cout << "hello world\n";
return 0;
}