Question: in C++ Create a new blog post. In this post write a simple struct or class with at least two members that are fundamental types.
Create a new blog post. In this post write a simple struct or class with at least two members that are fundamental types. Also, make up an enum that is appropriate for this class or struct and include it in your code. Use an enum class as opposed to a old fashioned enum. Yours must be different than any others already posted! Here is my example (you cannot use it for yours!) Remember, a struct is used for a simple grouping of variables, Classes we will eventually use to do much more complex things. So think about which to use, and be sure all your members are public struct 2Dvector { enum class Speed (slow 1, medium, fast); float x floaty
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
