I have downloaded MinGW from their site and installed in a separate C:\MinGW directory. I suspect that I need to update various Settings. Is there any documentation on updating the Setting with advice on how to get a trivial program working. If not, what are my next steps.
I located an "iostream" file deep down in the following directory structure: c:\MinGW\mingw32\Lib\gcc\mingw32\4.8.1\include\C++.
Thanks for your help and patience.
------------------------------------------------------------------------------------------------------------------------------------
Code: Select all
#include <iostream>
using namespace std;
int main(void)
{
cout << "Hello World" << endl;
}
-----------------------------------------------------------------------------------------------------------------------------------
Error Messages [since this was clipped out of screen capture there may be typos]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C:\WINDOWS\system32\cmd.exe /C “C:/MinGW/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
Building project:[ Arrays - Debug ]
C:/MinGW/bin/g++.exe -c “C:/Users/User/LearnProg/SecondWork!Arrays/main.cpp” -g -00 -Wall -o ./Debug/main.cpp.o -I. -I. C:/Users/User/LearnProg/SecondWork/Arrays/main.cpp:1:20: fatal error: iostream: No such file or directory
#include <iostream>
A
compilation terminated.
mingw32-make.exe[1]: [Debug/,main.cpp.o] Error 1
mingw32-make.exe: [All] Error 2
Arrays.mk:93: recipe for target Debug/main.cpp.o failed
Makefile:4: recipe for target A11 failed
I Build Ended with Errors]: 2 errors, 0 warnings