Forum     

Go Back   Digit Technology Discussion Forum > News > Technology News
Register FAQ Calendar Mark Forums Read

Technology News News from the world of technology that our members stumble across. NOTE: Sources to be mentioned at the beginning of each post.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 17-06-2007, 10:54 PM   #1 (permalink)
C# Be Sharp !
 
Zeeshan Quireshi's Avatar
 
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
Talking LOLCODE : The latest Gem to Programming


Quote:
Originally Posted by LOLCODE Website
Programming the LOL way.
All LOLCats, LOL, ALL CAPS.


Examples :

Quote:
Originally Posted by HAI WORLD
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
Quote:
Originally Posted by COUNT!!1
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE VAR
IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE
Quote:
Originally Posted by FILEZORZ
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE
THe Last one had me in splits
__________________
There are 10 types of people in the world: those who understand binary and those who do not.
Zeeshan Quireshi is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 17-06-2007, 11:29 PM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: LOLCODE : The latest Gem to Programming

No, no no! Not in code too!
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 17-06-2007, 11:30 PM   #3 (permalink)
You gave been GXified
 
gxsaurav's Avatar
 
Join Date: Jan 2007
Location: New Delhi
Posts: 5,633
Default Re: LOLCODE : The latest Gem to Programming

thats a real programming language, :ROFL:

Linux, Mac & Windows should switch to it
__________________
about.me/gxsaurav
gxsaurav is offline  
Old 18-06-2007, 01:56 AM   #4 (permalink)
mera kutch nahi ho sakta
 
chesss's Avatar
 
Join Date: Oct 2005
Location: Delhi
Posts: 880
Default Re: LOLCODE : The latest Gem to Programming

how is this technology news??
__________________
jin files ka koi server nahi hota unka bittorrent hota hai
chesss is offline  
Old 18-06-2007, 03:26 AM   #5 (permalink)
Loading . . . please d'nt
 
CINTEL ENTRINO's Avatar
 
Join Date: Aug 2006
Location: IMC
Posts: 236
Default Re: LOLCODE : The latest Gem to Programming

can sum1 translate that to ordinary english so that we may hav a laugh too...... !?!
CINTEL ENTRINO is offline  
Old 18-06-2007, 03:30 AM   #6 (permalink)
Phenom II X4 920 Owner
 
prateek_san's Avatar
 
Join Date: Sep 2004
Location: New Delhi
Posts: 400
Default Re: LOLCODE : The latest Gem to Programming

Lmao .....
__________________
"A strong positive mental attitude will create more miracles than any wonder drug." - Patricia Neal
prateek_san is offline  
Old 18-06-2007, 04:09 AM   #7 (permalink)
Wise Old Owl
 
Tech.Masti's Avatar
 
Join Date: Dec 2005
Location: ( 22.2° N, 88.2° E )
Posts: 1,507
Default Re: LOLCODE : The latest Gem to Programming

Tech.Masti is offline  
Old 18-06-2007, 07:13 AM   #8 (permalink)
Pawned!... Beyond GODLIKE
 
fun2sh's Avatar
 
Join Date: May 2006
Location: World Of Warcraft -DOTA
Posts: 1,051
Default Re: LOLCODE : The latest Gem to Programming

forget this c++ n java. now i will learn LOLCODE
__________________
If God has indeed created Himself in His own image, then I submit to you that God is a cockroach :mrgreen:!!!!!!!!
fun2sh is offline  
Old 18-06-2007, 11:37 AM   #9 (permalink)
C# Be Sharp !
 
Zeeshan Quireshi's Avatar
 
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
Thumbs up Re: LOLCODE : The latest Gem to Programming

Quote:
Originally Posted by CINTEL ENTRINO
can sum1 translate that to ordinary english so that we may hav a laugh too...... !?!
LOLCODE to Read a file :
Code:
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
	AWSUM THX
		VISIBLE FILE
	O NOES
		INVISIBLE "ERROR!"
KTHXBYE
Notes:
  • PLZ … ? introduces a try/exception block
  • AWSUM THX introduces the block to execute on success with PLZ. It is implicitly closed by…
  • O NOES, which is the exception block. It should be closed with KTHX, but it hits the final KTHXBYE, which (I assert) is a bit of syntactic sugar that closes everything.
  • OPEN handles non-default-terminal-based I/O. FILE in this case is simply a variable, a file handle for the LOLCATS.TXT file.
  • INVISIBLE is a print command to the debug console, commonly known as STDERR.

C++ Equivalent:
Code:
#include<iostream>
#include<fstream>

using namespace std;

int main()
{
  ifstream fin;
  fin.open("LOLCATS.TXT");
  if(fin)
      //Code to go through file n print it
  else
     cout << "Error !";
}
__________________
There are 10 types of people in the world: those who understand binary and those who do not.
Zeeshan Quireshi is offline  
Old 19-06-2007, 12:28 AM   #10 (permalink)
Wise Old Owl
 
Tech.Masti's Avatar
 
Join Date: Dec 2005
Location: ( 22.2° N, 88.2° E )
Posts: 1,507
Default Re: LOLCODE : The latest Gem to Programming

^^^
thanks 4 translate into C++
Tech.Masti is offline  
Old 19-06-2007, 11:25 PM   #11 (permalink)
Jack Sparrow
 
joey_182's Avatar
 
Join Date: Sep 2006
Location: chandigarh
Posts: 269
Default Re: LOLCODE : The latest Gem to Programming

kool man..really kool..
)
__________________
KHAO PIYO TE AISH KRO!!
http://twitter.com/puneetshrma
joey_182 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unix(shell Programming) and TCP/IP programming tutorials Matrix Programming 4 08-04-2008 09:54 PM
PLC Programming amit2005 Programming 1 26-10-2007 10:50 AM
Ubuntu latest or fedora latest arunks Open Source 23 06-11-2006 02:13 PM
Programming Help demoninside Programming 4 10-04-2005 11:30 PM
C programming help godsownman Programming 4 07-03-2005 07:01 PM

 
Latest Threads
- by chris
- by icebags
- by Tenida
- by Who

Advertisement




All times are GMT +5.5. The time now is 12:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2