diff options
| author | ruki <[email protected]> | 2020-08-11 22:35:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-11 22:35:25 +0800 |
| commit | 3571d12eed5cf39a8fb0ae97da7529551c66a95e (patch) | |
| tree | 3dd663eae497732aba25a889df6e42c90143e492 /xmake/templates/c++/static/project/src/main.cpp | |
| parent | 8d5626509b428f47cfab4e2b5bc26a84a9af620b (diff) | |
improve templates
Diffstat (limited to 'xmake/templates/c++/static/project/src/main.cpp')
| -rw-r--r-- | xmake/templates/c++/static/project/src/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/templates/c++/static/project/src/main.cpp b/xmake/templates/c++/static/project/src/main.cpp new file mode 100644 index 000000000..72e03272b --- /dev/null +++ b/xmake/templates/c++/static/project/src/main.cpp @@ -0,0 +1,10 @@ +#include "interface.h" +#include <iostream> + +using namespace std; + +int main(int argc, char** argv) +{ + cout << "add(1, 2) = " << add(1, 2) << endl; + return 0; +} |
