Kermot, I don't know how I feel about that, haha. Is that a bad thing?
The woman that admitted me told us it was a C++ book.
This is an introduction to computer programming course, but we were told it would strictly be in C++. Does that mean we were fooled or? This probably wasn't my professors fault. Many people told me things prior before I went into the class because I specifically wanted C++ which is how I ended up here.
TheIdeasMan, yes!
Though, be prepared for quite the screenshots haha.
This is the Card Design he wants us to use.
http://prntscr.com/bzpo93
This is the actual assignment.
http://prntscr.com/bzpoy9
http://prntscr.com/bzpp0y
And where it said use program 14_3 as reference, this is what we are using.
http://prntscr.com/bzppgt
http://prntscr.com/bzppir
http://prntscr.com/bzppl5
http://prntscr.com/bzppo5
We were told to use the beginning as a starting point, so I'm pretty sure the entire program 14_3 isn't supposed to be used as a reference.
What we're supposed to do--by his examples--is this.
http://prntscr.com/bzpqbi
What I'm getting from this and what I just learnt is get a header file and a cpp file.
For the most part that makes sense, but what's confusing me is why he doesn't have two cpp files.
Shouldn't there be one for the member functions and then one for the whole program or is the cpp file with the member functions all included in the program, thus one being the header file--or the class declaration--and the rest being its member functions and the operations in the program using it as #include Car.h?
Not sure what the layout if for or if it's necessary. I don't think it is.
The main focus is putting a class in a separate file and then using it in the main program--which will be in a separate file--so I'm currently trying to get the class in the main file while having the class and main program separate.
Output is supposed to look like this.
http://prntscr.com/bzprkq