LANGUAGE: C++ Make a class. It should be something really offbeat and zany. Make sure your class has a constructor that will set some initial properties. Make sure your class has three functions that do something At least one of the functions needs to (returns a value) that does something cool. At least one of your procedures (or function) should take a parameter(s). Make sure your class has one or two variables/attributes Make sure your class has a simple data structure, for example, C/C++ it can be an array or a vector or a quete, linked list, list, etc create an instance of this class you have created, then calling it’s various methods to prove to me that everything in your class works as you expected. Same thing - just create a second instance. Create the demo
LANGUAGE: C++
Make a class. It should be something really offbeat and zany.
Make sure your class has a constructor that will set some initial properties.
Make sure your class has three functions that do something
At least one of the functions needs to (returns a value) that does something cool. At least one of your procedures (or function) should take a parameter(s).
Make sure your class has one or two variables/attributes
Make sure your class has a simple data structure, for example, C/C++ it can be an array or a
create an instance of this class you have created, then calling it’s various methods to prove to me that everything in your class works as you expected.
Same thing - just create a second instance.
Create the demo
Step by step
Solved in 2 steps with 3 images