Thread: Throw me a bone...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    4

    Unhappy Throw me a bone...

    im new to C++ and new to programming.
    Im using the Dev Compiler v4.1
    Could someone plz explain this:

    when i create a project, it makes me save

    then when i compile, i have to save again!



    Next: I try typing in the "hello world program." Doesnt work, i get this strange error message. So then i cut and plaste the little "hello world program."

    Then the thing says "Why do u want to compile an empty project."

    Im really confused, if this is the easiest compiler to work with then im really in for it

  2. #2
    Registered User The Dog's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    788
    When you want to write programs, you need to:
    1. create a new project
    2. then save the project
    3. then create a source file
    4. then save that
    5. then you need to add to source file(.cpp) to the project
    6. then and only then may you compile the code

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Many programs you make won't necessitate a project to be made. Just open a new cpp files, write your code and compile. You only need projects for linking (i use the word "need" loosely).

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    4

    Talking

    thanxs

  5. #5
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605
    Also, master, with devc++4, you need a project to assign icons...
    .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why does C++ need throw()
    By meili100 in forum C++ Programming
    Replies: 19
    Last Post: 11-10-2007, 12:34 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. Long-lasting objects that throw exceptions
    By drrngrvy in forum C++ Programming
    Replies: 7
    Last Post: 10-05-2006, 04:30 PM
  4. throw in method declarations
    By Davros in forum C++ Programming
    Replies: 1
    Last Post: 07-22-2006, 07:33 AM
  5. Parent/child object design
    By lyx in forum C++ Programming
    Replies: 6
    Last Post: 11-28-2003, 09:46 AM