Raised This Month: $ Target: $400
 0% 

Which Programming language are you?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 05-08-2007 , 15:27   Re: Which Programming language are you?
Reply With Quote #22

Quote:
Originally Posted by regalis View Post
Have you ever heard of this language?

http://en.wikipedia.org/wiki/Brainfuck

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!
__________________
I am not a number. I am Gordon Freeman!

Last edited by Pro Patria Finland; 05-08-2007 at 15:30.
Pro Patria Finland is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode