char FILENAME[100];
ifstream SurveyFile;
SurveyFile.open(FILENAME)
while (!SurveyFile.eof)
{
here I need a code to read from the file character by character, and according to different delimiters I need to store these characters in either a char array or an int array for later use
}
for example, if each line starts with an integer then ';' then 2 strings then ';' then integer ',' integer ',' integer ',' etc... I need to store the first integer in array A (A[0]) then string1 in string B1[0] string2 in string B2[0] and finally each integer in int 2 dimentional array C such that:
C[0][0] is the first , C[0][1] second, C[0][2] etc...
then for the other lines same deal..