1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Visual C++ Programs Closing

Discussion in 'Software Development' started by Michiyo, Aug 21, 2009.

Thread Status:
Not open for further replies.
  1. Michiyo

    Michiyo Thread Starter

    Joined:
    Jul 31, 2009
    Messages:
    18
    Hey this might sound noobish but i'm getting into programming in C++ and i'm going through these tutorials on this book and whenever I compile and run something, the command line application closes almost instantly after it runs, I'm pretty sure it's not my code because I wrote a simple code to find the area of a rectangle and the answer pops up for less than a second. I'm using visual C++ Express edition. Please help xD
     
  2. IMM

    IMM Malware Specialist

    Joined:
    Feb 1, 2002
    Messages:
    3,257
  3. Michiyo

    Michiyo Thread Starter

    Joined:
    Jul 31, 2009
    Messages:
    18
    Allright I did the method you used and it worked :D, also one of the methods in the link worked really nicely to put "system("pause");" before "return 0;". Thanks :D
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/854197

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice