Compiling

This is a discussion on Compiling within the C++ Programming forums, part of the General Programming Boards category; Heya everyone it's my first time at programming and can i say that the tutorials are great........ the only thing ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    7

    Compiling

    Heya everyone it's my first time at programming and can i say that the tutorials are great........ the only thing i have a problem with is compiling. whenever i write a program and click compiler then run its just says program not compiled. i use dev-c++ plz hlp me thanks

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    7

    compiling

    i try to run my program from dev-c++ but it says :unable to run program file....just tell me once i have written the program give me some simple steps of what to do. click ___ then ____ save it as _____.___ e.t.c

  3. #3
    Registered User nevermind's Avatar
    Join Date
    Oct 2002
    Posts
    23

    hmm

    Ensure that the file you are trying to open is .CPP or else DEvC++ doesnt see it as a C++ file. You have to then choose 'All files' in the Open file dialog box for C++ files with extensions like .CC or .CCP etc.

    Steps to open and compile a c++ file
    1. File -> Open Project or File
    2. Edit the details you need to
    3. Execute - > Compile
    4. Fix any errors and then simply choose 'Execute' to run the program or 'Continue' to proceed with editing.

    Off course if you have a project you will need all files open (incl .H and .CPP) to edit and compile simultaneously.

    For better assistance check out:
    Help -> Help on Dev-C++
    "Cut the foreplay and just ask, man."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie Compiling Problem
    By Deronius in forum C++ Programming
    Replies: 3
    Last Post: 06-15-2008, 11:23 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. Problem Compiling
    By Flakster in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 01:09 AM
  4. compiling and executing issue with lcc win32
    By GanglyLamb in forum C Programming
    Replies: 10
    Last Post: 12-22-2004, 01:24 PM
  5. Compiling syntax
    By Jez_Master in forum C++ Programming
    Replies: 3
    Last Post: 04-01-2002, 08:46 PM

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