summaryrefslogtreecommitdiff
path: root/7p56.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-03 12:20:34 +0200
committerOskar <[email protected]>2024-10-03 12:20:34 +0200
commit2f1ad9ec273a0ff9e746e9f6c4cac2ce81cb31e4 (patch)
treea397e770261ea84eedbea851fd051210246f4a10 /7p56.cpp
parent3edb35c6cab27d36f0fde49726db8cc9289e7304 (diff)
small test to play around abit with classes
Diffstat (limited to '7p56.cpp')
-rw-r--r--7p56.cpp15
1 files changed, 15 insertions, 0 deletions
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;
+}