Results 1 to 4 of 4

Thread: c++ compiler -- how to?

  1. #1

    Thread Starter
    New Member darklynrdteen06's Avatar
    Join Date
    Jul 2001
    Location
    Right over there. Is Cool: Yes Posts:123345234525667
    Posts
    10

    c++ compiler -- how to?

    okay,ihavethedev-c++compiler,andiwanttoknowhowicompilethedamnthing!Idon'tthinkimdoingitcorrectly,becausewheniruntheprogram,thewimdowflashesforasplitsecondandthendisappears.wtfiswrong?
    Last edited by darklynrdteen06; Oct 6th, 2001 at 01:03 AM.
    The Intel Processor: Quality performance at 2, sometimes even 3 times the price. And even then we are not guaranteeing anything.

  2. #2
    Addicted Member
    Join Date
    Aug 2001
    Location
    I'm mobile
    Posts
    166
    Try putting in one or two

    cin.get();

    in the end of the code.
    [p r a e t o r i a n]

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Or
    Code:
    #include <stdlib.h>
    ...
    system("pause")
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827
    For Dev-C++, you can use "getchar()" before "return 0" to make it stay there until a key is pressed.
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width