diff options
author | Jinwei Zhao <[email protected]> | 2015-08-12 11:33:31 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-07-14 00:45:58 +0800 |
commit | 48b6693c04d2bf330d7f23ba14a847987ac653eb (patch) | |
tree | eb9bd5f8e48a61ca334e87dac683e50c281bae78 | |
parent | 64e24fd9be16326754e0d41dcc848970be8da1cf (diff) | |
download | brainfuck-master.tar.gz |
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | brainfuck.c | 2 |
2 files changed, 3 insertions, 6 deletions
@@ -5,12 +5,9 @@ This is a toy implementation of brainfuck. | |||
5 | 5 | ||
6 | Just for fun! | 6 | Just for fun! |
7 | 7 | ||
8 | ##Usage: | 8 | ## Usage: |
9 | |||
9 | ```bash | 10 | ```bash |
10 | gcc brainfuck.c -o brainfuck | 11 | gcc brainfuck.c -o brainfuck |
11 | ./brainfuck | 12 | ./brainfuck |
12 | ``` | 13 | ``` |
13 | |||
14 | |||
15 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/JinweiClarkChao/brainfuck/trend.png)](https://bitdeli.com/free "Bitdeli Badge") | ||
16 | |||
diff --git a/brainfuck.c b/brainfuck.c index 5cd021e..0619337 100644 --- a/brainfuck.c +++ b/brainfuck.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <stdio.h> | 1 | #include <stdio.h> |
2 | #include <string.h> | 2 | #include <string.h> |
3 | 3 | ||
4 | #define MAX_DATA 30000 | 4 | #define MAX_DATA 30000 |
5 | 5 | ||
6 | typedef struct brainfuck{ | 6 | typedef struct brainfuck{ |