[Mystik_Cool]
09-30-2001, 03:42 PM
Someone told me that we just have to include the "stdlib.h" in the source code, then to write smthing as :
main()
{
system("ls");
}
and to compile, and it was working. I think this person forgot smthing, 'cause when I want to compile I get a horrible error-answer ! lol
Anyone know how to (simply :D ) include a command line (as you could type in the shell) in a C++ prog ?
main()
{
system("ls");
}
and to compile, and it was working. I think this person forgot smthing, 'cause when I want to compile I get a horrible error-answer ! lol
Anyone know how to (simply :D ) include a command line (as you could type in the shell) in a C++ prog ?