Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions brainscrew/hello.b

This file was deleted.

13 changes: 13 additions & 0 deletions brainscrew/hello.bf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++. H
+++++++++++++++++++++++++++++. HIJKLMNOPQRSTUVWXYZabcde
+++++++. efghijkl
. l
+++. lmno
-------------------------------------------------------------------------------. (space)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++. W
++++++++++++++++++++++++. o
+++. r
------. l
--------. d
---------------------------------------------
---------------------------------------------. !
6 changes: 4 additions & 2 deletions brainscrew/notes.txt
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 3 additions & 2 deletions c/hello.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <stdio.h>

void main() {
int main()
{
printf("Hello World\n");
return 0; // a.k.a. everything is ok
}
2 changes: 2 additions & 0 deletions cplusplus/notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
1 change: 1 addition & 0 deletions html/hello.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<!-- tags are case-insensitive and indention doesn't matter -->
<head>
Expand Down