Hi guys,
I have several function which is not in the int main(). it is however linked by myfile and line. What i am trying to do is retrieve each line from the csv file and calling the other function for each of the line. My problem is that it is only getting the first line. Please help me. Thanks.
If I'm not mistaken you are leaving the '/n' character in the buffer. Use cin.ignore(100,'/n') to clear the new line from the buffer and try that. Read in the line, process it, and then clear the buffer before reading in the next line.