Sorry to detract your time away from real programming problems but I'm just starting out in C++, have a ver of Dev C, am working through the tutorials, and am finding that none of my compiled .exe files will run. Before I go any farther, I need to get to the bottom of that, because it's apparantly not my simplistic code at fault.
Last sample was :
and the make looks like :
using namespace std;
cout<<"Please enter a number.";
cout<<"You entered: "<< thenumber <<"\n";
After this, nothing loads at all from the .exe. It's one project, started as an .exe, and the single code file. Any suggestions?
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make clean
rm -f Projects/Openers3.o Openers3.exe
g++.exe -c Projects/Openers3.cpp -o Projects/Openers3.o -
I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-
Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
g++.exe Projects/Openers3.o -o "Openers3.exe" -L"C:/Dev-Cpp/lib" -mwindows
Should I try re-installing Dev, or am I overlooking something in my configuration of it, etc?