Advertisement

why wont this stay up?

Started by July 03, 2001 08:44 PM
2 comments, last by JMpgwr88 23 years, 7 months ago
i am writing basic text-based programs using Dev-C++ and everythings running smoothly except the words only stay onthe screen for a second and then vanish. Can anyone help me? Thanks!
Try adding the line ''system("pause");'' to the end of your program. You''ll need to include stdlib.h (I think ...).

~~~~~~~~~~
Martee
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
Advertisement
quote:
Original post by JMpgwr88
i am writing basic text-based programs using Dev-C++ and everythings running smoothly except the words only stay onthe screen for a second and then vanish. Can anyone help me?

Thanks!



You should probably post some code so we can have a look at it...



"And that''s the bottom line cause I said so!"

Cyberdrek
Headhunter Soft
A division of DLC Multimedia

Resist Windows XP''s Invasive Production Activation Technology!

"gitty up" -- Kramer
[Cyberdrek | ]
#include

int main()
{

cout << "hello world!\n";
return 0;

}

This topic is closed to new replies.

Advertisement