Home > Back-end >  How to realize the CSV file can be converted to the C language.xls files
How to realize the CSV file can be converted to the C language.xls files

Time:09-19

As title, recently wrote class set, can only use the c language, but only the CSV file operation c language, and ask for a output file format for the XLS class set,

CodePudding user response:

Well, with CSV format first read the file into memory, and then write by writing XLS format interfaces in the XLS format file,
Is a read/write interface, writing, speaking, reading and writing, respectively, CSV and interface ~ XLS format

CodePudding user response:

reference 1/f, confident boy reply:
well, use CSV format first read the file into memory, and then write by writing XLS format interfaces in the XLS format file,
Is a read/write interface, writing, speaking, reading and writing, respectively, CSV and XLS format interface ~

Thank you for your answer, but, I don't understand what is the meaning of these interfaces, and what is the XLS format is not very understand,

CodePudding user response:

refer to the second floor qq_45725614 response:
Quote: reference 1/f, confident boy reply:

Well, with CSV format first read the file into memory, and then write by writing XLS format interfaces in the XLS format file,
Is a read/write interface, writing, speaking, reading and writing, respectively, CSV and XLS format interface ~

Thank you for your answer, but, I don't understand what is the meaning of these interfaces, and what is the XLS format is not very understand,

Is according to the CSV format design, speaking, reading and writing, according to
XLS format design, speaking, reading and writing

CodePudding user response:

reference 3 building self-confidence boy reply:
Quote: refer to the second floor qq_45725614 response:

Quote: 1 reference building self-confidence boy reply:

Well, with CSV format first read the file into memory, and then write by writing XLS format interfaces in the XLS format file,
Is a read/write interface, writing, speaking, reading and writing, respectively, CSV and XLS format interface ~

Thank you for your answer, but, I don't understand what is the meaning of these interfaces, and what is the XLS format is not very understand,

Is according to the CSV format design, speaking, reading and writing, according to
XLS format design, speaking, reading and writing

Good bosses, XLS format I searched the Internet to a circle are not designed in c language environment, speaking, reading and writing, and

CodePudding user response:

You this requirement must not want you to write the XLS format file, it is good that you put the extension into XLS, content or CSV content is good, because excel compatible CDV format file

CodePudding user response:

Simple reference 5 floor - Soft reply:
you this requirement must not want you to write the XLS format file, it is good that you put the extension into XLS, content or CSV content is good, because excel compatible CDV format file

thank you
  • Related