Does anybody have a list of system commands (if that's what they're called).
eg.
orCode:system("Pause");
ThanksCode:system("cls");
-Chris
Does anybody have a list of system commands (if that's what they're called).
eg.
orCode:system("Pause");
ThanksCode:system("cls");
-Chris
> Does anybody have a list of system commands
whatever you command interpreter understands,
DOS is command.com
Win is cmd.exe
Linux is /bin/bash
> I meant "system calls".
These are just the API calls to your operating system - like in unix operating systems, fork() is a system call.
Your example system("foo"); has nothing to do with this. The system() function passes a string to your current command line interpreter.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
for windows try the ms knowlege base and look form console commands.
for linux i guess the ldp would be the best the bet, dont know the url for the main site though
Monday - what a way to spend a seventh of your life