Help compiling a program
Hi. I'm new to the board and new to c++. I learned Pascal a long time ago but can't remember much. I'm trying to get back into programming and want to learn cheap as in no schooling.
I found the slot machine program on your site and put it into the bloodshed compiler and tried compiling it and it says
"Why in the world are you trying to compile an empty project?"
I have only the slot.cpp in the project.
What else do I need.
I've attached a text file that contains the code. I just pasted it in notepad.
Invoke Dev-CPP, click on Help-->Help on Dev C++, keep clicking until you see Getting Started, Basic Steps, etc.
(You have to create a project: this will be a Windows Console C++ project --- maybe you can take it from there, with a little help from Help).