0

Program to print the name of drive in which program is running

12th Apr 2017, 1:41 AM
Vivek
Vivek - avatar
2 ответов
+ 2
If I understand your question properly, you can search every drive for the executable of your program. when a match is found return the drive name.
12th Apr 2017, 5:45 AM
seamiki
seamiki - avatar
0
Try using std::system(const char*) then input your terminal commands in the parameters as a c-string(const char*)
12th Apr 2017, 4:49 AM
Logan New
Logan New - avatar