0
read a cell of excell file in c++
hello.how can I read a cell of excell file that is converted to csv in c++? For example I want to sum tow cell of my csv file.If you can write a complete code that calculate the sum of this csv file: 1,2 3,4 thanks alot if you can do this.You get rid me of confusion.
5 Antworten
+ 1
@moosa samadi
What cannot you understand?
0
You will have to read the complete csv file and store it inside a custom class(for a row)/array to get the sum. Then you can easily access any member required and add them.
Ill just post a sample program.
0
https://code.sololearn.com/c8mbun90l7HR/?ref=app
Just customize the code as per your need.
0
but I can't understand this code.
0
Excuse me.I'm not expert in c++.Most of codes you use are not well known for me.I made file a.csv for program and ran it,but code didn't work.I don't know how I can use this code.My problem is basic.It means I want a complete code that answer well.I want a cod that sum tow cell of an excell file which contain numbers.This file can contains strings and number both.