hi guys and girls if any :P, im trying to find out how to determine the root directory of a computer, in c++ as part of a larger program im working on, im sure i heard before that there is some api call that can be used to do this, i fi have explained it wrong here is an example:
C:\Program files\Program\Program.exe
I am looking how to automatically find out the root drive (C:\) of a computer.
Does anyone have any ideas ?