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.