Brett's or Jim's answer's should work fine. If you're working from an
IDE (like Dev-C++), and you're just learning C++ you might want to do
what Jim said to do, especially if you don't know how to navigate
around your computer with the command prompt yet (which you should
learn how to do). I took a class on data structures last semester
(which was, believe it or not, taught in C) with Dev-C++, and we
usually used getch(), because it was more convenient to get an instant
result instead of opening up a command prompt.

I haven't sent anything to this group in *forever*.
It's hard to believe someone sends you a question regarding an almost
two year old
message!

On Jan 11, 2008 11:53 AM, Jim Dougherty <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> This is what I use at the end of a console application:
>
>  cout << "Press enter to exit" << endl;
>  getchar ();
>  return 0;
>
>
>  [email protected] wrote:
>  > hello sean brewer can you help. I have just started programming I read
> you
>  > recommend on the c++4.9.9.4
>  > i have already downloded this. I am using window xp pro. I am trying to
>  > learn a little to start with through a book. I followed the first program
>  > which it says do in a console application. I typed in the data as written
>  > down clicked compile and run but the what I think is the prompt box
> flashes
>  > through I have tried system pause and printf but still it flashes through
>  > any ideas on why it is doing this?
>  >
>  > Brewer, Sean L wrote:
>  >> suneeta545 wrote:
>  >>> its better to use dev-c++4.9.9.2 than turbo c++ i think.so
>  >>> if you want to download it.it is found in www.bloodshed.net
>  >> Good job, people really like the compiler that Microsoft offers for
>  >> free. Either way, they're EONS better than Turbo Suck C++.
>  >>
>  >>
>  >> To unsubscribe, send a blank message to
>  >> <mailto:[ mailto:c-prog-unsubscribe%40yahoogroups.com
>
>  > [EMAIL PROTECTED]>.
>  >> Yahoo! Groups Links
>  >>
>  >>
>  >>
>  >>
>  >>
>  >>
>  >
>
>  

Reply via email to