Quote:
Originally Posted by regalis
|
Okay, so when I read this, I decided to give a shot at it. It is very complex at first. But atleast I've learned, that if you want to have a complex code to write a few lines of text into your cmd window, this is the programming language for you.
This is the code I learned to do, and wrote myself today:
Code:
++++++++++[>+++++++>++++++++>+++++++++>+++>+>+++++<<<<<<-]
>>++++.<++.+.>-.>>++.<<---.++.---.<--.>+++.<------.>-----.>>.<<<++++++++.
>++++++.>>.<<<------.>----.<+.+.-.>>>.<---.<<+++++.>+++++.<-.>>>.<<<------.
>--.<-.++++++++.>----.<---.>+++++++.<---.++++++++.>>>+.>.<<<<--.>>>-.<<<--------.
>--------.>>.<<++++++.----.>>.>>-.++..++++.<<+...>.<-.+++++++++++++.<<+.++.---.
>>-------------.<<+.<.>++++.--.<++++++++.--------.>>>.<<<+++++.+++.>----.--.<--------.
>++.<+++.
If you compile and run it, it says:
"THIS PROGRAM IS CODED WITH BRAINFUCK!
I AM SO 1337!!!
-Pro Patria Finland"
Edit: Oh, and it's still a bit too long and a very bad code, it could be done differently too. But hey, it's me first shot!
__________________