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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started