[SDL] O.T.-How do i find the user folder on P.C. Windows platform using C++???

Torsten Giebl wizard at syntheticsw.com
Thu Jun 12 13:30:17 PDT 2008


Hello !


> I mean "ALWAYS"...
>
> There MUST be a location that a game's data file can always be saved
> too on Windows???
>
> How are people at work and at school on networked workstations supposed
> to play my games?
>
> Any thoughts on this would be appreciated!


That depends on what you need to save.

For temporary files you can ask the systems
TEMP and/or TMP variable.

For save games you can ask the User with some
dialog box where to save the save games.


CU




More information about the SDL mailing list