Intermediate Homework4 questions
Posted: December 31st, 2017, 6:52 am
I was going over your implementation of the Homework 4, and I have never seen the syntax used here with the
Are you doing this to involve the constructors of the int data member value?
And why would you do this instead of just doing this->value = value; once inside the entry Constructor, and what is a Entry() = default?
Sorry ive taken two classes in C/C++ and im trying to patch in information that I am lacking.
Below is a screen shot of the video just in case I was too vague.
https://i.imgur.com/QkGdUeK.png
Here is my solution to this project (I didn't realize we were suppose to go low level on this bad boi...)
https://github.com/willkillson/ASCIIBarChart.git
Code: Select all
Entry(const char* name, int value)
:
value( value)
Are you doing this to involve the constructors of the int data member value?
And why would you do this instead of just doing this->value = value; once inside the entry Constructor, and what is a Entry() = default?
Sorry ive taken two classes in C/C++ and im trying to patch in information that I am lacking.
Below is a screen shot of the video just in case I was too vague.
https://i.imgur.com/QkGdUeK.png
Here is my solution to this project (I didn't realize we were suppose to go low level on this bad boi...)
https://github.com/willkillson/ASCIIBarChart.git