By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,148 Members | 1,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,148 IT Pros & Developers. It's quick & easy.

Im new

P: n/a
After i make make it it works alright it im doing the commamds right and every
thig. It has what i put in it . But when i starting it comes up for about half
a sec than goes back down. My email is KillerJ59J
Jul 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
>After i make make it it works alright it im doing the commamds right and
every
thig. It has what i put in it . But when i starting it comes up for about
half
a sec than goes back down. My email is KillerJ59J



That problem was discussed here recently, the conclusion was to use one of the
following:

system("pause");
cin.get();
cin.ignore(1000, '\n');

insert one of these statements just before the 'return 0' statement. It will
cause the pause you require until you press a key from the keyboard.

i.e.

int main()
{
cout ...
xxxx ...
cin.get();
return 0;
}

JB
Jul 22 '05 #2

P: n/a
"KillerJ59J" <ki********@aol.com> wrote in message
news:20***************************@mb-m02.aol.com...
After i make make it it works alright it im doing the commamds right and every thig. It has what i put in it .
But when i starting it comes up for about half
a sec than goes back down.


Try some Viagra, I hear you can get it off the internet nowadays.
I think even AmoreZone.com has it. Or was it eBabe? Look it up.
-Mike
Jul 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.