   Using System(); - List what it does?
  I noticed System() has tons of great features, such as clearing the screen, adding color, formatting, pause a streaming list of data, access directories, and much more. Can you list all the system() options, tutorials, and confirm that after compiling, it''ll run on any computer? Or does it only run on computers that use system()? Is it dangerous to use? Thanks.   http://phil.webula.netAIM: wuZZup189 
  Are you talking about the C/C++ function system()? It just executes a program. Yes, it is standard. ;  System() starts a DOS environment, loads command.exe (or cmd.exe on NT/2000/XP) and then executes your command. Then it destroys the DOS environment again.It really shouldn''t be used, especially system("clear") is a very ugly hack. ;quote:Original post by Fidelio66  System() starts a DOS environment, loads command.exe (or cmd.exe on NT/2000/XP) and then executes your command. Then it destroys the DOS environment again.It really shouldn''t be used, especially system("clear") is a very ugly hack.   its not clear its cls.clear is not a recognised batch.......    ;  It was ''clear'' back in the day.However, thanks for your input. Does Visual C++ 6.0 Pro have a clear function?   http://phil.webula.netAIM: wuZZup189 ;  You just gotta include windows.h and then do system("[dos function here]")  It''s quite simple, really.   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force;quote:Original post by Ekim_Gram  You just gotta include windows.h and then do system("[dos function here]")  It''s quite simple, really.   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force System(); is in stdlib.h (with most compilers)    ;  So it's okay to use system() when using windows.h, and it'll work on any computer running my game?I'm confused.   ps. I know how to use system() but I don't know how dangerous they can be.http://phil.webula.netAIM: wuZZup189   [edited by - philvaira on February 16, 2004 12:49:50 PM];  Hmm, either I'm missing something or Ekim_Gram doesn't know what he's talking about because my thoughts on the header file is the same as Deranged.EDIT: Just as well however, in a C++ environment I think I've been using #include &ltcstdlib&gt and not the straight C header.    [edited by - nervo on February 16, 2004 12:58:01 PM];  I think I was a bit wrong there. Including stdlib.h has system() but I do know that for some DOS functons to work, you have to include Windows.h    R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force