Hello everyone. I am looking at a Beginning C++ Game Programming book, and it has been talking about the Arithmetic Operators. I copy the code from the book and write it out into the Dev-C++ 4.9.9.2. IDE. Here is the code:
C:\Users\Sinclair\Documents\Adam's Stuff\Game Programming\Makefile.win [Build Error] No rule to make target `C:/Program', needed by `calculator.o'. Stop.
Oho, Dev-C++ now can't use its own makefiles? Hehehehehe...
Upgrade your IDE and compiler. If you want to stick to something close to Dev-C++, try wxDev-C++ (which I think comes bundled with a much newer version of MinGW). Code::Blocks is another good IDE that some would recommend highly, and it also comes bundled with MinGW.
I personally use Eclipse, but its not necessarily very beginner friendly.
Albatross thankyou very much. I luckily had wxDev-C++ on my computer from before and I copied and pasted (although I agree its' frowned upon) the code into the IDE.
After pressing F9 the program worked and I could see my math equations.
multiple definition of `main'
first defined here
ld returned 1 exit status
C:\Users\Sinclair\Documents\Adam's Stuff\Game Programming\Makefile.win [Build Error] [Default] Error 1