summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorDaniel Andreas Wang <danielaw@relvokcor.xyz>2026-03-07 10:10:20 +0000
committerDaniel Andreas Wang <danielaw@relvokcor.xyz>2026-03-07 10:10:20 +0000
commitb3c6e203eddb939b9d08e168a09c66af3ed94e57 (patch)
treef20b7308e51022aff065891fe829349254ed9168 /main.cpp
first commitHEADmain
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..2079353
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,13 @@
+#include <iostream>
+#include "counter.h"
+
+using std::cout, std::endl;
+
+int main() {
+ Counter c(0);
+
+ c.increment();
+ cout << c.get_value() << endl;
+
+ return 0;
+}