diff --git a/cpp/classes/car.h b/cpp/classes/car.h index 5dc8c02..0bb0a9f 100644 --- a/cpp/classes/car.h +++ b/cpp/classes/car.h @@ -24,11 +24,11 @@ class car // define the visibility of the following fields and methods // in this case everything is public since visibility is a topic in future lessons public: - // define two strings, manufacturer and model + // define two fields, manufacturer and model std::string manufacturer; std::string model; - // define a function that will print out information + // define a method that will print out information void print_info(); };