kvsm / TutoringHW1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ Tutoring Assignment 1

This assignment is going to build on the brief look we took at classes last week. It will cover some topics we haven't looked at yet, such as forking and cloning repositories in Github, and some features of C++ classes such as constructors. If you get stuck, Google is your friend! (Message me if you get really stuck).

In this assignment, your task is to create and write Car.h and Car.cpp so that the program in main.cpp works and produces the following output in the console:

You press the car's horn. HONK!
Testing the gears...
The car is in gear: 1
The car is in gear: 5
The car is in gear: 1
Checking the colour...
The car is green.
Respraying...
The car is red.
Press any key to continue . . .
  1. Fork this repository. This will create a copy (fork) of the repo in your own account.
  2. Clone your fork to your local machine.
  3. Open the project in VS and complete the assignment.
  4. Commit your work in git locally, and push your solution back up to Github.

Don't forget to check the C++ language reference; this page may be useful. Good luck!

About


Languages

Language:C++ 100.0%