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

When are temporary variables formed by c++ compiler?, A: Provided that func...

A: Provided that function parameter is "const reference", compiler create temporary variable in following two ways. a) The actual argument is the correct type, however it isn't

Explain the scope resolution operator, The Scope Resolution Operator( :: ) ...

The Scope Resolution Operator( :: ) Global variables are explained outside any functions and thus can be used by all the functions defined thereafter. However, if a global vari

C, A palindrome is a string that reads the same from both the ends. Given a...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Mathematics, C Coding to find the area under the curve y = f(x) between x =...

C Coding to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can be found

multithreaded server, Implement a multithreaded server that can be used as...

Implement a multithreaded server that can be used as a proxy server to access some designated file (say it reflects the proxy copy of two file1.txt, file2.txt). Now use a client to

Linked list, program for singly linked list with out header

program for singly linked list with out header

Compute the net pay for employees - c program, Write a C# program to comput...

Write a C# program to compute the Net Pay for employees. The program is to have a Main method and two user-defined methods. The Main method is to input the employee's name (string)

Super ASCII string cost, A string S is said to be "Super ASCII", if it cont...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

Describe how can i allocate/unallocate an array of things?, A: Use p = new ...

A: Use p = new T[n] and delete[] p:   Fred* p = new Fred[100]; ... delete[] p; Any time you allocate an array of objects through new (generally with the [n] in the n

Overloading binary operators, Overloading Binary Operators class SI ...

Overloading Binary Operators class SI {float i,p,n,r,a; public: SI(){}; SI(int gp,int gn, int gr); void putdata(void); SI operator+(SI); }; SI SI::opera

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