A question regarding filing | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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.

1st Jan 2021, 10:34 AM
Dex
Dex - avatar
5 Respostas
+ 1
this may or may not be useful to you: https://isocpp.org/wiki/faq/serialization just google, youā€™ll get examples.
1st Jan 2021, 11:02 AM
Flash
+ 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.
1st Jan 2021, 10:56 AM
Flash
+ 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
1st Jan 2021, 10:58 AM
Dex
Dex - avatar
0
ok thank u sir.
1st Jan 2021, 11:06 AM
Dex
Dex - avatar
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.
5th Jan 2021, 7:59 AM
Brian
Brian - avatar