From 60c1b9387cd98b3ba875bddb13c86e9e090cb1f1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 10 Aug 2014 12:21:13 +0100 Subject: init --- templates/cplusplus.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/cplusplus.cc (limited to 'templates/cplusplus.cc') diff --git a/templates/cplusplus.cc b/templates/cplusplus.cc new file mode 100644 index 0000000..346f268 --- /dev/null +++ b/templates/cplusplus.cc @@ -0,0 +1,19 @@ +/* + * template.cpp + * + * Patrick Simianer + * YYYY-MM-DD + */ + +#include + +using namespace std; + + +int main(int argc, char const* argv[]) +{ + cout << 'Hello, World!' << endl; + + return 0; +} + -- cgit v1.2.3 From 3af4d5a70e6b3d5eaa88c786ca902c60652a8ac4 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 4 Mar 2015 17:25:51 +0100 Subject: Ouch! --- templates/cplusplus.cc | 2 +- templates/plainc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/cplusplus.cc') diff --git a/templates/cplusplus.cc b/templates/cplusplus.cc index 346f268..bddbfd2 100644 --- a/templates/cplusplus.cc +++ b/templates/cplusplus.cc @@ -12,7 +12,7 @@ using namespace std; int main(int argc, char const* argv[]) { - cout << 'Hello, World!' << endl; + cout << "Hello, World!" << endl; return 0; } diff --git a/templates/plainc.c b/templates/plainc.c index 26c7a80..16bb550 100644 --- a/templates/plainc.c +++ b/templates/plainc.c @@ -10,7 +10,7 @@ int main(int argc, char** argv) { - printf('Hello, World!\n'); + printf("Hello, World!\n"); return 0; } -- cgit v1.2.3