View Single Post
  #9 (permalink)  
Old 07-20-2008, 03:27 PM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 862
Last Blog:
Programs Under the Hoo...
Credits: 0
Rep Power: 13
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: C++ system() not working!!?!? (Cygwin bash shell?)

Try using #include<stdlib.h> instead of #include <cstdlib>. The system() function is defined there too. I'm not sure if it's cross-platform (probably not), but it's worth a try.
Reply With Quote