View Single Post
  #7 (permalink)  
Old 07-20-2008, 10:06 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,676
Last Blog:
CherryPy(thon)
Credits: 0
Rep Power: 29
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: C++ system() not working!!?!? (Cygwin bash shell?)

Your problem is that your parameters to the system-function are directed to sh (of Cygwin). sh does not recognize "pause" nor "cls" as those are not a part of the Cygwin-package (or Unix). I can't say why that is, and I have like I said never experienced it, or heard about others having the same problem.

You could try opening "cmd(.exe)" and compile and run it by-hand, and see what the result then is, without using Cygwin.
__________________
05-03-2007 - 11-13-2008

Last edited by v0id; 07-20-2008 at 10:09 AM..
Reply With Quote