Sorry for the late reply...well...I've followed the way u coded by changing the fprintf to fprintf (newfile, "Test: %s %s\n", str1.c_str(),...
Hi, I had a problem in printing a String class string to a file where I had declared: string str1[10], str2[10]; And in str1[6] and str2[6]...
Can I try to open the text and put it in a 2 dimensional array, then call the second line of the text file in array format and frm there to use...
Well, sorry for the confusion cos my programming aren't tht good and I've just started picking up C/C++ programming. My main purpose is to...
Hi, I had a problem in reading a particular string of a text file in C++. For example, I had a text file that looks like the one below:...
Separate names with a comma.