Help compiling a program

This is a discussion on Help compiling a program within the C++ Programming forums, part of the General Programming Boards category; Hi. I'm new to the board and new to c++. I learned Pascal a long time ago but can't remember ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    50

    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.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    536
    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).

    Dave

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 07:49 PM
  2. adding an #include stops my program from compiling
    By angelscars in forum C++ Programming
    Replies: 5
    Last Post: 11-11-2005, 05:24 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. Replies: 3
    Last Post: 04-19-2004, 09:09 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21