"Corey McKee" <camckee...@...> wrote:
>
> Try this:
<snip>
>  int DrinkP = 0;
>  int FoodP = 0;
>  int TDp = 0;

You know, a large coffee costs $3.70 here. :-)

<snip>
>  system ("pause");

Yuk. Don't encourage people to do this. Unless you like
your software to output messages like...

  ksh: pause:  not found

> I use Dev C++ compiler. No errors. Works.

  torrestest.cpp: In function 'int main()':
  torrestest.cpp:44: error: 'system' was not declared in this scope

Obviously this is some new meaning of the word 'works' I
wasn't previously aware of. ;-)

-- 
Peter

Reply via email to