system("...");

int main()
{
system("c++ -c \"Data Package\"\\DataWorker.cpp");
}

Hello,

I guess that this code is logical BUT the compiler doesn't want to open the file "Data Package" and I don't know why. On the rules, a file with ".o" will be
in the same folder where is this program but nothing gets the right ending of the work.
Plz, may u help me?
use the fully qualified path to data package.
One way to deal with this is to debug the command in the shell first, from the same exact location where your program runs.

thanks for the help
Topic archived. No new replies allowed.