Hello, I joined here desperately asking for your help
I have an assignment about creating a program that loads a text file given.
the text file contains many lines and those lines are questions and answers
it is on this sequence
question
answer
question
answer
and so on
so we basically have to:
1- load the text file
2- set it in a 2-D array
3- output certain lines from the array as questions which means I have to jump the answer line
4- read in answers
4- finally, we have to create a text file based on those prompts and the entire process using c++
I am not asking for you guys to do the assignment for me, that is wrong
but I just want to know how to, like what are the commands for those aims as they haven't given us the heads up for it
it is much appreciated, thanks in advance.