diff --git a/src/class-member-variables.cpp b/src/class-member-variables.cpp index 790a7056c68dcfa98054672487be1089c6a526d3..1c0f06f178e598c611e4fb73e91057629918ca1f 100644 --- a/src/class-member-variables.cpp +++ b/src/class-member-variables.cpp @@ -19,7 +19,7 @@ public: }; -main() +int main() { cout << "Demonstration of class vs. member variables:\n"; cout << "Without constructing an object we can call the static getter from the CD namespace:\n"; @@ -31,4 +31,5 @@ main() cout << "CD_Member: " << cd.getCDMember() << '\n'; cout << "We can now also use the object to call the static getter (with the same effect):\n"; cout << "CD_Class: " << cd.getCDClass() << '\n'; + return 0; } \ No newline at end of file