Beginning C++ Through Game Progammin, C/C++ Programming

Assignment Help:
you are to create a text adventure game that uses pointers. You have a rich, eccentric Uncle Billy who is soon to be deceased. How soon.....oops......he''s gone.
He has left you a fortune in gold in a saftey deposit box, but knows that you like riddles and challenges. On your journey you will run into 3 people who will give you clues indicating
the safety deposit box you will need to open if you are to receive your inheritance. They will each ask you a riddle, and if your response is correct, they will give you a few of the
characters in the saftey box number. If you answer incorrectly, the will probably give you false information. Once you have met each of the 3 "riddlers", you will head off to the
bank and test your code. Will you be victorious or will you be meeting face to face with your deceased Uncle Billy?

You are to write a program that uses a pointer to a poiner to a string object. The memory location of the pointers are to be used as the codes/safety deposit box numbers. This program
should be broken down into functions, at least one for each clue. Be aware of the scope of your variables when creating this assignment.

To get full credit for this program, you will need to use a pointer to a pointer to a string object, and utilize at least one constant pointer. You must use the pointers in if statements
to decide if you win or lose the gold, and you must use functions. Try to make an interesting story. You can find riddles on the internet to use if you don''t have any of your own.

Related Discussions:- Beginning C++ Through Game Progammin

Determine the current flowing in the circuit - voltage, Four cells, each wi...

Four cells, each with an internal resistance of 0.40 ? and an e.m.f. of 2.5 V are connected in series to a load of 38.40 ?. (a) Verify the current flowing in the circuit and t

Program for metric conversions, Write a program called Converter that does ...

Write a program called Converter that does three types of metric conversions. Your program should prompt the user for the selection conversion, prompt for input data, and display t

Basic input -output library of subroutines, GetChar - get a character fro...

GetChar - get a character from the keyboard, echo to the display and return it in reg al. - Note: if a linefeed (LF) is received (Enter key), a carriage return (CR) will als

Matrices, write a c program that multiplies 3 martices

write a c program that multiplies 3 martices

Structures, A more advanced data type is the structure; here we can define ...

A more advanced data type is the structure; here we can define a template as a collection of different variables e.g.     struct birthdate   {     int month;     int day;

C, minimum total number of shelves.

minimum total number of shelves.

How can one "reopen" std::cin & std::cout in binary mode?, A: It is impleme...

A: It is implementation dependent. Verify with your compiler's documentation. For instance, assume you wish to do binary I/O using std::cin & std::cout. Unluckily there is no st

Define auto pointer?, A: The simplest instance of a smart pointer is auto_p...

A: The simplest instance of a smart pointer is auto_ptr that is included in the standard C++ library. Auto Pointer only takes care of Memory leak & does nothing regarding dangling

Implementation of the definition class - c++ program, Implementation of the...

Implementation of the Definition class: void Definition::put_word(char *s) {    word = new char[strlen(s)+1];    strcpy(word,s);    nmeanings = 0; }   voi

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd