]> zdv2.bktei.com Git - BK-2023-05.git/commitdiff
init(.):Add README and first practice code.
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Fri, 29 Jul 2022 00:05:22 +0000 (00:05 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Fri, 29 Jul 2022 00:05:22 +0000 (00:05 +0000)
README.org [new file with mode: 0644]
test [new file with mode: 0755]
test.c [new file with mode: 0644]
test2 [new file with mode: 0755]
test2.c [new file with mode: 0644]

diff --git a/README.org b/README.org
new file mode 100644 (file)
index 0000000..b900546
--- /dev/null
@@ -0,0 +1,4 @@
+* Learning C
+** Summary
+This repository contains practice code and examples as I learn how to
+program in C.
diff --git a/test b/test
new file mode 100755 (executable)
index 0000000..a0918ab
Binary files /dev/null and b/test differ
diff --git a/test.c b/test.c
new file mode 100644 (file)
index 0000000..b08fbb0
--- /dev/null
+++ b/test.c
@@ -0,0 +1,12 @@
+/*
+ * Author: Steven Baltakatei Sandoval
+ * Purpose: Test my Emacs C setup
+ * Copyright 2022
+ */
+
+#include <stdio.h>
+int main()
+{
+  puts("Hi, my name is 'Baltakatei'.");
+  return 0;
+}
diff --git a/test2 b/test2
new file mode 100755 (executable)
index 0000000..731a4c9
Binary files /dev/null and b/test2 differ
diff --git a/test2.c b/test2.c
new file mode 100644 (file)
index 0000000..8752230
--- /dev/null
+++ b/test2.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main()
+{
+  puts("Electric pair mode is pretty cool.");
+  return 0;
+}