Like Tree2Likes
  • 1 Post By laserlight
  • 1 Post By rags_to_riches

problem

This is a discussion on problem within the C++ Programming forums, part of the General Programming Boards category; well i have a problem,whenever i try to run my c++ program ,the output window immidiately disappears without showing output,it ...

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    1

    problem

    well i have a problem,whenever i try to run my c++ program ,the output window immidiately disappears without showing output,it doesnt even wait to take inputs,i have used getch(),but the problem is something else...pls help.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,786
    Run your program from a command prompt window.

    Or you can wait for input, which apparently you did (with getch()), but did not quite do correctly. Of course, since you did not show your program, I shall refrain from using my psychic powers to rip it from your mind lest I render you insane or without intelligence due to carelessness.
    GReaper likes this.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    a_capitalist_story
    Join Date
    Dec 2007
    Posts
    2,664
    And/or read this.
    Elysia likes this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 10-16-2008, 07:30 PM
  2. sturct/pointer problem, and fscanf problem
    By hiphop4reel in forum C Programming
    Replies: 6
    Last Post: 07-28-2008, 09:40 AM
  3. Replies: 27
    Last Post: 10-11-2006, 04:27 AM
  4. Visual Studio Linker problem or my problem?
    By OOPboredom in forum C Programming
    Replies: 2
    Last Post: 04-13-2004, 12:32 AM
  5. syntax linked list problem & struct problem
    By beely in forum C Programming
    Replies: 5
    Last Post: 11-11-2002, 08:14 AM

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