Introduction - If you have any usage issues, please Google them yourself
.h header file: statement of constant statements, structs, functions
C /. CPP variables and functions
Process:
1. Read the file, method can be read section or TXT (check the end [description], start to read)
2. While/for begins parsing the data (defining a structure to store each row of data in the structure separately). It is best to consider the problem of the paper's occupation. You can read 1000 documents and then open the file after reading 1000 pieces.
Note: processing Item: determines whether lenth is legal and char* is NULL
To write a HandleError function, handle the wrong results, such as addlog (logging)
3. Restores the data saved as.csv format (actually similar to TXT, except that all quantities are separated by ", "and is a table file with a row representing the table)
Packet : 89346497c-star.rar filelist
star\0xe7.dmb
star\addlog.log
star\c语言解析csv.cpp
star\c语言解析csv.cpp.bak
star\c语言解析csv.txt
star\data.csv
star\data.txt
star\Noname1.txt
star\out.csv
star\out.scv
star\ssss.cpp
star\ssss.cpp.bak
star\star.dsp
star\star.dsw
star\star.ncb
star\star.opt
star\star.plg
star\temp.txt
star\Text4.txt
star\作业.txt
star\新建 文本文档.txt
star\读取数据文件.txt
star\Debug
star