Question: how can i read and write a txt file for the given struct in C++ struct Entry { string name; string number; }; it is
how can i read and write a txt file for the given struct in C++
struct Entry { string name; string number; };
it is also given: vector
at the beginning of the programm the file should be read with a function: void read(vector
in the end the programm should write the changed vector directory into a txt file by overwriting the initial data in the txt file the function is void write(const vector
write the two functions for the programm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
