+ 1
A question regarding filing
How do i make a program save all the information in an excel file, for retrieval later by the users in c++?The information will be taken from user before hand.
5 Réponses
+ 1
this may or may not be useful to you:
https://isocpp.org/wiki/faq/serialization
just google, you’ll get examples.
+ 1
there are third-party libraries for this. but if you want to have persistent data, why don’t you try serialization and deserialization? or if the information is vast in size then maybe server based/less databases.
+ 1
ok i will give it a shot.If u can provide me a sample code which performs such a task or an article relevant to this it will be appreciated
0
ok thank u sir.
0
I find the simplest way is to write the data in CSV (Comma-Separated Values) format. Excel will open it as a natively recognized format and it is easily manipulated by programs and humans since it is in text format.