I've essentially copied a small project from another computer to this one. This one is running windows 8.1.
What happens when I try to compile even a hello world cpp project I get this error: 'Fatal error: "iostream" No such file or directry' . I know this means the compiler cannot find the file where it is searching. But why? I'm using CodeBlocks with MingW on both computers. Hello world and my project compiler just fine on the other one, yet I have never been able to get even a hello world to work on this Windows 8.1 machine.
I tried adding include paths (using any include folders I could find with the windows search feature) via the menu bar "settings->compiler options..." and that kind of solved the problem. Only after I did that another few errors cropped up that are so arcane I cannot fathom what they mean.
The compiler is complaining about missing includes from within included files!
Apologies if this is very basic; I just don't understand why this isn't working right out of the box.