From 5aad2f7644068e9973f78590af3e14deedfbba03 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 4 May 2020 19:24:16 +0200 Subject: [PATCH] make fields/methods more clear --- cpp/classes/car.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); };