Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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++
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started