Welcome to Section_6

Paul Stewart 2/5/2016

Answer some questions

For this project, it was simply answering questions asked by the teacher. Here are some questions and answers that were given...

- What is the difference between a class and a object - a class is your own created data type, and objects are created from classes.
- What is a reason that you would make a class variable private - you would make a class variable private so that you could protect it. No other class can get to it.

These questions were easy to answer and they helped in the later projects.

Ch 6.1 Student class

This project consisted of making a class in a c++ document and create an object. This class was based off of the 6.1 program on the kindle app. The object created in this section was a student object. In the student cpp file, the program asks the user to type in the name and id (a random number chosen by the user). The name is also chosen by the user.

Ch 6.2 Student class Continued

This is a continuation of the 6.1 project. On the kindl app, the 6.2 section adds the functions getName and setName to the .h file. The purpose of this program is to get the names of the student objects and output them to the screen. We don't input the names of the students on the fly during the program, although it is possible to do so.

6.2 Student class
go to section_6_QnA page

go to section_6_traning page