PDA

View Full Version : dos commands in c++



Unregistered
10-18-2001, 09:32 PM
how do you execute dos commands in c++? like:
int var1;
cin>>var1;
start [var1] or net use [var1]
I dont know how to explain it but where I can make variables and input them in dos commands and execute them

no-one
10-18-2001, 11:05 PM
system("whatever dos command goes here");