Question: i need help in c + + , I have a . txt file named data.txt and i need to create a function named loadFile

i need help in c++, I have a .txt file named data.txt and i need to create a function named loadFile and this function is suppose to open the file, then go into it and identify the things within the document. The things within the document are categories and puzzles. After it identifies it, it's suppose to then look through the file and whenever it encounters a category or puzzle, it's suppose to then sort one of those 2 things into their own arrays. I also need help on creating a function prototype for this, but i have no idea where to even begin.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!