Skip to content
Snippets Groups Projects
Commit be66bc6f authored by tobiglaser's avatar tobiglaser
Browse files

Correction: main() now int main()

parent 17ca754c
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment