I converted a CString to a char* and i was wondering how I could write that to a text file?
The size of how long the Cstring (L_username) is variable every time:
char* temp = (LPTSTR)(LPCTSTR) L_username;
outdata << *temp << "\n";
right now it will only print out the first character of the char array...how do i print it out character by character until I reach the null at the end without the physical char array to go through?
Thank you! <333