From d91bda74e764fb1d5cdf94f802e6446de2d7c145 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:44:09 -0500 Subject: [PATCH 1/7] Update hello.html doctype --- html/hello.html | 1 + 1 file changed, 1 insertion(+) diff --git a/html/hello.html b/html/hello.html index 27601c6..3993f81 100644 --- a/html/hello.html +++ b/html/hello.html @@ -1,3 +1,4 @@ + From 61827b670299c777102cf1e28c1fd99c0f7842a0 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:44:54 -0500 Subject: [PATCH 2/7] Rename hello.b to hello.bf --- brainscrew/{hello.b => hello.bf} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename brainscrew/{hello.b => hello.bf} (100%) diff --git a/brainscrew/hello.b b/brainscrew/hello.bf similarity index 100% rename from brainscrew/hello.b rename to brainscrew/hello.bf From 3a63aaed31f5a1ca7a1d7d4c2586f91fcf156585 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:46:47 -0500 Subject: [PATCH 3/7] Update hello.bf --- brainscrew/hello.bf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/brainscrew/hello.bf b/brainscrew/hello.bf index 010a269..081caa6 100644 --- a/brainscrew/hello.bf +++ b/brainscrew/hello.bf @@ -1,13 +1,13 @@ -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++. -+++++++++++++++++++++++++++++. -+++++++. -. -+++. --------------------------------------------------------------------------------. -+++++++++++++++++++++++++++++++++++++++++++++++++++++++. -++++++++++++++++++++++++. -+++. -------. ---------. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++. H ++++++++++++++++++++++++++++++. HIJKLMNOPQRSTUVWXYZabcde ++++++++. efghijkl +. l ++++. lmno +-------------------------------------------------------------------------------. (space) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++. W +++++++++++++++++++++++++. o ++++. r +------. l +--------. d --------------------------------------------- ----------------------------------------------. +---------------------------------------------. ! From 0aed7c6efab36511e64c7f93d81b25785c978168 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:47:35 -0500 Subject: [PATCH 4/7] Update notes.txt --- brainscrew/notes.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/brainscrew/notes.txt b/brainscrew/notes.txt index 6ff10af..9d7de42 100644 --- a/brainscrew/notes.txt +++ b/brainscrew/notes.txt @@ -1,9 +1,11 @@ +Instead of screw, it's the f-word. + Command(s) needed to make the program run -beef hello.b +beef hello.bf You can also run the script using -bf hello.b +bf hello.bf NOTE: beef and bf behave differently, and sometimes one works when the other does not. From 7c879324c016b7e1328008c7127a6cef063841b7 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:48:24 -0500 Subject: [PATCH 5/7] Update hello.c --- c/hello.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/hello.c b/c/hello.c index 0565707..1e76550 100644 --- a/c/hello.c +++ b/c/hello.c @@ -1,5 +1,5 @@ #include - -void main() { +int main() { printf("Hello World\n"); + return 0; // a.k.a. everything is ok } From d2bb28afbddc988910beddfe5bb3e8ef4d2e9056 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:48:41 -0500 Subject: [PATCH 6/7] Update hello.c --- c/hello.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/hello.c b/c/hello.c index 1e76550..14db040 100644 --- a/c/hello.c +++ b/c/hello.c @@ -1,5 +1,6 @@ #include -int main() { +int main() +{ printf("Hello World\n"); return 0; // a.k.a. everything is ok } From 096b3e028b64c498109613cf940a18c2022fdb57 Mon Sep 17 00:00:00 2001 From: Eval GIF Date: Wed, 25 Dec 2024 22:50:13 -0500 Subject: [PATCH 7/7] Update notes.txt --- cplusplus/notes.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cplusplus/notes.txt b/cplusplus/notes.txt index c41f0d8..e7496d2 100644 --- a/cplusplus/notes.txt +++ b/cplusplus/notes.txt @@ -2,3 +2,5 @@ Command(s) needed to make the program run g++ hello.cpp ./a.out + +Technically, C+ is a superset of C, meaning any C code can be run in C++ as is.