Visual Studio c++ not working

Discussion in 'Programming' started by ss_2, Dec 22, 2008.

  1. #1
    i just migrated from tc to vc
    but the program never gets built
    how can i solve this?
     
    ss_2, Dec 22, 2008 IP
  2. brian65

    brian65 Active Member

    Messages:
    1,172
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Can you be more specific? For example, are compilation errors reported when you build?
     
    brian65, Dec 22, 2008 IP
  3. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you're wondering where the EXE file is when it gets built a folder called "Debug" is made when it successfuly builds the EXE. This can be a bit misleading at first (was for me) when you build and can't find where the EXE went.

    Just search within Windows for the name of the project you started. When you find it there'll be quite a few files and the "Debug" folder should be there somewhere.
     
    Yesideez, Dec 22, 2008 IP
  4. msrmani

    msrmani Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,
    Try to create an empty project, after that place your .cpp and .h files in the project directory,
    then add them to your project.
    use the menu Project->Add to project->Files.
    this should work.
     
    msrmani, Jan 2, 2009 IP
  5. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #5
    That can be easily solved.

    Peace,
     
    Barti1987, Jan 2, 2009 IP