o utilizzi l'API GetEnvironmentVariable() (cerca su google)
oppure, più semplicemente
system("ECHO %USERNAME%"); // utilizzi il DOS.
o utilizzi l'API GetEnvironmentVariable() (cerca su google)
oppure, più semplicemente
system("ECHO %USERNAME%"); // utilizzi il DOS.
...Terrible warlords, good warlords, and an english song