Is it possible to put arguments in a systems call?
something like
system(\"rm %s %s\", string1, string2)
Try this:
private: char command[128]; char temp[10] = {'"','I','P','v','4','"'}; //snprintf(); public: int SysInfo(){ snprintf(command,sizeof(command), "ipconfig | find %s > save.log",temp); system(command); }