Thread: very easy but not sure...

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    5

    very easy but not sure...

    how i save my project and to be able to run it later....cause after i save "save as *.cpp" thats not working from the file and unable not compile it nor run it...?
    how to save the project into *.h ,*.cpp,*.dsp,*.dsw?
    thank you very much!!

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    I assume that you are using Visual Studio from the .dsp and .dsw extensions. You should have told us that, though. Whatever.

    You need to create a project and then add files to it and not create files and then save them.

    Edit:

    That would be in File -> New -> Project.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    20
    Yeah right click the folder on the left pane labeled "Source Files" -> New File. Then you can select which type of file you want to add to your project.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Saving a project means saving all the files you're working with too. You don't need to re-add files when opening a project.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Easy String position question...
    By Striph in forum C Programming
    Replies: 4
    Last Post: 05-11-2009, 08:48 PM
  2. Seg fault in easy, easy code
    By lisa1901 in forum C++ Programming
    Replies: 11
    Last Post: 12-10-2007, 05:28 AM
  3. Easy question, (should be) easy answer... ;-)
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-12-2002, 09:36 PM
  4. EASY GUI development.. like with Qt?
    By rezonax in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2001, 01:18 PM