Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!
char* strLine = (char*) malloc(sizeof(char) * 2048); FILE *fp; fp = fopen(myFilePath, "rt"); //code to read in a line one character at a time till it reach '\n' //then strLine[lastIndex] = '\0' //below is where problem happens CString str(strLine);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.