summaryrefslogtreecommitdiff
path: root/helloworld.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-08-22 16:41:26 -0400
committerB Stack <bgstack15@gmail.com>2019-08-22 16:41:26 -0400
commit11eb7e4aa720cae5d1c47190c5805619d09bee11 (patch)
treeb324b97ff81d9838c382fe19dc29c2b4cb6c291c /helloworld.cpp
downloadcpp-11eb7e4aa720cae5d1c47190c5805619d09bee11.tar.gz
cpp-11eb7e4aa720cae5d1c47190c5805619d09bee11.tar.bz2
cpp-11eb7e4aa720cae5d1c47190c5805619d09bee11.zip
initial commit
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