Saurabh Jain wrote:
> --- In [email protected], "remarknibor" <[EMAIL PROTECTED]> wrote:
>> I don't follow you. But I'm running my program in the command window on 
>> a Windows PC, if that affects anything.
>>
> 
> What I think was meant, that once you specify a command to be executed
> through system(), the system() call invokes the specified command in a
> sub-shell and returns to the parent after the completion of the
> command. Correct me if I am wrong!
> 
> ~Saurabh

Uh huh.  BUT what the OP was saying was that he didn't understand what 
system() had to do with ignoring keypresses.  It didn't and thus there 
was confusion.

OP:  If you have getch(), then you probably also have kbhit().  However, 
as we have already pointed out, both are part of the ancient Turbo C/C++ 
compiler suite.  Upgrade your compiler.  Also, seriously consider using 
a GUI, which is better suited for such things OR, if you REALLY need 
console stuff like this, use ncurses.


>> --- In [email protected], "Ahmed Shabana" <UnlimitedEng@> wrote:
>>> I think the system call "system()" excute commands in another 
>> shell "dos"
>>> !!

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to