From d4260b52a9697fee6cdf8839db4bd66dc14e195a Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 27 Mar 2010 21:29:55 -0400 Subject: [PATCH] init with hello world --- .gitignore | 1 + Makefile | 4 ++++ src/hello_world.cc | 7 +++++++ 3 files changed, 12 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 src/hello_world.cc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..36f971e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin/* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d472e52 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ + + +bin/hello-world: src/hello_world.cc + g++ src/hello_world.cc -o bin/hello-world diff --git a/src/hello_world.cc b/src/hello_world.cc new file mode 100644 index 0000000..8e31396 --- /dev/null +++ b/src/hello_world.cc @@ -0,0 +1,7 @@ +#include + +int main() +{ + std::cout << "Hello World!" << std::endl; + return 0; +}