From 2f1ad9ec273a0ff9e746e9f6c4cac2ce81cb31e4 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 3 Oct 2024 12:20:34 +0200 Subject: small test to play around abit with classes --- 7p56.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 7p56.cpp (limited to '7p56.cpp') diff --git a/7p56.cpp b/7p56.cpp new file mode 100644 index 0000000..bdddef9 --- /dev/null +++ b/7p56.cpp @@ -0,0 +1,15 @@ + +/* + * + * 7.56 + * + * + */ + +int main () { + + // A static member is shared across all objects of the same Class type. + // This means that if we change the static member, all classes will be + // see this change on the static member. + return 0; +} -- cgit v1.2.3