File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 22#include <stdlib.h>
33#include <string.h>
44
5- #define LENGTH 9999
6-
7- /*
8- * How does brainfuck work?
9- * + -> changes the value of the cell by 1
10- * - -> changes the value of the cell by -1
11- * > -> changes the cell by 1
12- * < -> changes the cell by -1
13- * . -> prints the int value of the cell
14- * : -> prints the ascii value of the cell
15- * , -> accepts int input and adds it to the cell
16- * ; -> gets the ascii input and adds its number to the cell
17- * [] -> loops if the value of the cell it ends on isn't 0
18- */
19-
205int main (int argc , char * argv []){
216
227 // Check if all the needed arguments are provided
@@ -35,4 +20,4 @@ int main(int argc, char *argv[]){
3520 for (int i = 0 ; i = )
3621
3722 return 0 ;
38- }
23+ }
You can’t perform that action at this time.
0 commit comments