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.

in C++
in C++ Create a new blog post. In this post write a

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!