I am trying to append a char to the end of a char array:
char szBuffer[MAX_PATH];
if(SHGetSpecialFolderPathA(HWND_DESKTOP, szBuffer, CSIDL_PERSONAL, FALSE)){
szBuffer[sizeof(szBuffer)] = "\\";
}
I know that will not work correctly, but I am unsure how to do it. Also, how would I append a string?