summaryrefslogtreecommitdiff
path: root/helloworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'helloworld.cpp')
-rw-r--r--helloworld.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/helloworld.cpp b/helloworld.cpp
new file mode 100644
index 0000000..8474a1e
--- /dev/null
+++ b/helloworld.cpp
@@ -0,0 +1,12 @@
+#include <iostream>
+
+int return5()
+{
+ return 5 ;
+}
+
+int main() {
+ //int x { }, y { } ;
+ std::cout << return5() << '\n' ;
+ return 0 ;
+}
bgstack15