![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 10
Rep Power: 0
![]() |
system(const char*)
this function in c++ works as follows -> system("c:\example.exe");
but i wish to pass a string instead of writing it -> system(myString); where myString has paths that can be changed on running time. how do i declare the string or what can i do to use a standar (std::string myString="hello") one in 'system' function? |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|