summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/console/project/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-18 16:37:58 +0800
committerruki <[email protected]>2015-06-18 16:37:58 +0800
commit379675ca870210abdde87db7dfd989855d337cd3 (patch)
tree3ffcd760864a4274944f5f575efbd31015c27d60 /xmake/templates/c++/console/project/src/main.cpp
parent1cb067b57383aa65ad5500b350aca22d865e7f3c (diff)
add templates
Diffstat (limited to 'xmake/templates/c++/console/project/src/main.cpp')
-rw-r--r--xmake/templates/c++/console/project/src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmake/templates/c++/console/project/src/main.cpp b/xmake/templates/c++/console/project/src/main.cpp
new file mode 100644
index 000000000..db2361659
--- /dev/null
+++ b/xmake/templates/c++/console/project/src/main.cpp
@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(int argc, char** argv)
+{
+ cout << "hello world!" << endl;
+ return 0;
+}