summaryrefslogtreecommitdiffstats
path: root/dev-template/dj
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2011-06-06 23:53:49 -0400
committerDJ Delorie <dj@delorie.com>2011-06-06 23:53:49 -0400
commit694338293d69452c1a1efb09fef490b5c799de00 (patch)
tree4418f058a5a9b430907d6ac0d71aa046d0af058f /dev-template/dj
parenta70abd5936cdae217f378ea28615ee50c4661839 (diff)
downloadbootstrap.git.DONOTUSE-694338293d69452c1a1efb09fef490b5c799de00.tar.gz
bootstrap.git.DONOTUSE-694338293d69452c1a1efb09fef490b5c799de00.tar.xz
bootstrap.git.DONOTUSE-694338293d69452c1a1efb09fef490b5c799de00.zip
Add dev-template
A few files just to give the user a shell when the machine boots.
Diffstat (limited to 'dev-template/dj')
-rw-r--r--dev-template/dj/hello.c8
-rw-r--r--dev-template/dj/hello.cc9
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-template/dj/hello.c b/dev-template/dj/hello.c
new file mode 100644
index 0000000..a2a90a5
--- /dev/null
+++ b/dev-template/dj/hello.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int
+main()
+{
+ printf("Hello, hard world!\n");
+ return 0;
+}
diff --git a/dev-template/dj/hello.cc b/dev-template/dj/hello.cc
new file mode 100644
index 0000000..c3aaa22
--- /dev/null
+++ b/dev-template/dj/hello.cc
@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(void)
+{
+ cout << "hello" << endl;
+ return 0;
+}