summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/buctthesis/doc/code/helloworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/buctthesis/doc/code/helloworld.cpp')
-rw-r--r--macros/latex/contrib/buctthesis/doc/code/helloworld.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/latex/contrib/buctthesis/doc/code/helloworld.cpp b/macros/latex/contrib/buctthesis/doc/code/helloworld.cpp
new file mode 100644
index 0000000000..692b8a8f5d
--- /dev/null
+++ b/macros/latex/contrib/buctthesis/doc/code/helloworld.cpp
@@ -0,0 +1,9 @@
+/* Hello World C++ */
+#include<iostream>
+using namespace std;
+/***** main function *****/
+int main()
+{
+ cout<<"Hello World!"<<endl; //Print "Hello World!"
+ return 0;
+}