I like using it if I'm testing, but I  don't test otherwise. I also think 
system is in cstdlib.

Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: peternilsson42 
  To: [email protected] 
  Sent: Monday, May 18, 2009 4:26 PM
  Subject: [c-prog] Re: help with a program





  "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



  

[Non-text portions of this message have been removed]

Reply via email to