Skip to content

Commit cdf7f5b

Browse files
authored
Update main.c
1 parent 8a96aa7 commit cdf7f5b

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

main.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,6 @@
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-
205
int 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+
}

0 commit comments

Comments
 (0)