This lab is to be done using Unix. To familiarize yourself with Unix, read this tutorial.
To prove that you used Unix tools, as part of your project submission, you need to submit typescript file with the record of at least one successful compilation of one of the programs below (the execution of the compiler on your source code file).
Another shot? [y/n] y Location? a 1 All fired shots a b c d e 1 * * 2 * 3 4 * * 5 * Another shot? [y/n] y ...You should store the shots in a two-dimensional array of booleans. You should use the following template.
Refer to this program for multidimensional array example usage.
Implement the program using a vector of vectors. Use the following template.
Refer to this program for example usage of vector of vectors.
Hint. C++ allows character arithmetic. It is assumed characters for digits, lower case letters and upper case letters are in order. Arithmetic operations such as adding a number to a character variable or incrementing a character variable are allowed. See this example for illustration. You can use this property to print letters in the grid of your shots printout.