Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

writting a total vector to a file and read it back.

$
0
0

Hello,

Here is my code:

struct contactEntry
{
    CString name,phoneNumber;
};

    vector<contactEntry> contactList;

I like to write the total contactList to a file and read it back. Before writting I like to make the file empty. how can i do this.


jamil


Viewing all articles
Browse latest Browse all 15302


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>