system() takes a const char * variable, not a std::string variable ...
you can use the c_str() member function to get a const char * ...
(and make sure you put a space after START)Code:system(systemcall.c_str());
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 12 of 12
Threaded View
|
Click Here to Expand Forum to Full Width |