Answered step by step
Verified Expert Solution
Link Copied!

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++
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

Students also viewed these Databases questions