webspace hosting reseller hosting|             | blog| forum| dating| free hosting| openhost| report abuse
Internet Fax To Email - Unlimited

Unlimited Faxes, No Fees, Dedicated Phone Number

Free Website Templates

Your First Project

Please follow these steps in order. Click on a step to see a picture of me doing it on the right.

Preparing the Project

  1. Open Dev-C++, if it isn't already open.
  2. Click on File -> New -> Project....
  3. Enter "My First Project" as your project title.
  4. Make this a C++ project, and check Set Default Language.
  5. Double-click on Console Application. This not only sets your project type, but closes this window as well.

Saving the Project

You should now see a Save Project window. You now need to find a place to store your project file, which is where Dev-C++ stores information about your C++ project. Save your project in a clean, new folder, because that folder will get cluttered up with all of your other C++ files. Here's what I recommend:

  1. Go to your hard drive root directory (mine is C:\).
  2. Create a new folder called ProgCode.
  3. Double-click on the new folder, then create another new folder inside. Name it My First Project.
  4. Double-click on the folder you just created. Click Save to save your project file there.

Compiling the Project

You now have a file called main.cpp open, with some C++ in it. DON'T MODIFY THE CODE, that's for later! Instead, you'll be compiling what's already there, as such:

  1. Save main.cpp by clicking on the yellow disk. If you want to save all files, click the icon with multiple yellow disks.
    Note: your files will be saved automatically before you compile.
  2. Click Save. You don't need to change anything.
  3. Now, click the Compile button (click for picture).
  4. You should see a Compile Progress window. It should go through 2 stages (compiling and linking), and then say Done.
  5. Close the window.
  6. Run your project by clicking the Run button (click for picture).
  7. You should see a console that says Press any key to continue . . .. Just press a key.

Congrats! You're done -- with this part. Close this window, but keep Dev-C++ open. You get to change code soon...