March Madness/Day 10
This program is a more advanced hello world, using the BF i/o function to print something that you type in. as last time, the 'hi-c.b' file contains a fully commented code, while the 'hi.b' file contains just the code.
To run this file, you need bf. to get, use
- sudo apt-get install bf
to run this program, you have to make bf understand newline characters as 0. So to run this program you would use
- bf -n hi.b
Enjoy!
Code
more BF code! enjoy...
++++++++++[>+++++++>++++++++++>++++>+++>++++++>+<<<<<<-]>++.>+++++. >++++.>++.<<++++.++++++++++++.>>.<<-----------.-------------.++++++ ++++++.--------.>>.<<++++.++++++++++.>>.<<<++++++++++++++++++.>---- ----------.++++++.------.>++.-->.<<<---.>+++.-------.++++++++++++++ +++++.>>.<<-----------.++++++++++.>>.<<++++++.----------.++++++.--- .>>.<<----.-------------.++++++++++++.--------.>>>+++.>.>,[>,]<<[<] >---------------.>.+++++++..+++.>>.>>>[.>]<<[<]>>>.>.<<+.----.----- --.----.++++++++++++++++++.--------------.-.>>.<<++++++++++++++++.- ----.>>.<<--.--------..+++++++++++++++.>>.<<+++++.----------.++++++ .>++.>>>.