Read data from csv file using c++
Question posted by: meiliong (Newbie) on Yesterday 10:00 AM
I would like to read a column of data in csv file on each rows and get the data to perform calculation as shown below:
"Sample Number","POD1","POD5","Time"
803,E7,03,
1803,E7,03,3.3330 us
2803,E7,03,3.3330 us
3803,E7,03,3.3330 us
4803,E7,03,3.3345 us
5803,E7,03,3.3330 us
6803,E7,03,3.3330 us
7803,E7,03,3.3330 us
8803,E7,03,3.3330 us
9803,E7,03,3.3345 us
I will need to read the values in the last column 3.3330 u and use this value to convert it to frequency. Note the 3.3330us is in second which means it reads as 3.3330micro second. I would also like to repeat it for every rows until end, how should i perform that. Please help me to come out with simple vbscript command on that.Thank you