Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.
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.