[gameprogrammer] Re: obtaining user directory

use:
getenv("USERPROFILE")

Saludos

Other related posts: