I'm new to c++ programming so i downloaded the dev-c++ compiler by bloodshed and everytime i go to compile it gets and error and won't compile even on basic "hello world" stuff
I'm new to c++ programming so i downloaded the dev-c++ compiler by bloodshed and everytime i go to compile it gets and error and won't compile even on basic "hello world" stuff
What is it saying?
I'm not on my own computer at the moment, i'm at college but basically it says something about it can't do something with -o, -S and something else which i can't remember
well then there is some fix, some fix that i just forgot..
be specific boy, if you ain't gonna open ya mouth, how can i read ya mind ?
This is the error:
Building Makefile: "F:\My Documents\Glenn's Stuff\C++\Glenn's Projects\Makefile.win"
Executing make...
make.exe -f "F:\My Documents\Glenn's Stuff\C++\Glenn's Projects\Makefile.win" all
make.exe: *** Warning: File `F:\My Documents\Glenn's Stuff\C++\Glenn's Projects\Makefile.win' has modification time in the future (2002-07-11 12:45:36 > 2002-07-11 12:45:34)g++.exe -c lesson\ 1.cpp -o lesson\ 1.o -I"C:\Dev-C++\include" -I"C:\Dev-C++\include\g++-3" -I"C:\Dev-C++\include" -pg -g3g++.exe: cannot specify -o with -c or -S and multiple compilationsmake.exe: *** [lesson 1.o] Error 1Execution terminated
what is the code and then say the error.
i think your trying to program in windows and not a dos console. anf if you are programming a dos console you press press compile and run make sure when you save it that you savbe it as *.cpp
You sould have updated your compiler long ago pal~
I'm using Dev-C++ 4.9.41 that's the latest release ,
Ünicode¬>world = 10.0£
not necessarily, 4 has a LOT less bugs then 5 does. And sometimes 5 will screw up your program, so you have to re-compile it to get it to work right.
I have 4 and 5 on my computer, for compatability. For Win32 and DirectX I use 5, for Allegro I use 4.
I have solved the problem it was my syntax
Aside from upgrading the IDE (as suggested by bljonk) you should more importantly get the most recent Mingw release.