I was wondering if any of you experienced C++ chaps could help me out with this project me and my friends are trying to do to strengthen are skills. We are mere beginers. If You can figure out the code to make this program work it would be greatly appreciated. Here are the instructions ( PS: If you could you abundent and explicit comments to instruction how the different parts function that would benefit us even more we are such beginners, thanks mates)
Make a Mad Libs party game. The leader has the text of a short story with a few missing words in it. The missing words are tagged by their function [noun], [verb], [place], etc... For example:
It was a [adjective] summer day.
Jack was sitting in a [place].
The leader examines the text and prompts the players for the missing words:
Please give me a/an:
He then reads the text with the supplied words inserted into their places.
Write a program that acts as the Mad Libs leader. It should prompt the user for a file name (or display a menu of available files), read the text from the chosen file, find the tags for the missing words, prompt the user for the words, and, finally, find the completed text in another file. You MUST use apstring, and, at least 2 funstions. In addition, use the <fstream.h> header file for the class ifstream. You will need to use the open, close, eof, and fail functions.
The files that i use will include the following: Holdiday, Noun, Verb, Food, Person, Adjective. All words tagged by [ ].
Good Luck and Thanks!