Jump to content

Mad Programming Skills


Balait_da_Sher
 Share

Recommended Posts

Having trouble sleeping so I thought I would have some ego and show off my mad programming skills...

<?PHP
    function naam_simran()
    {
        $bhagti = array();
        for($x=0;$x<=infinity;$x++)
        {
             $bhagti[] = "Waheguroo\n";
        }
        return $bhagti;
    }
?>

#!/usr/bin/perl
sub naam_simran
{
   my @bhagti = ();
   for($i=0;$i<=infinity;$i++)
   {
         push(@bhagti,"Waheguroo\n");
   }
   bless @bhagti;
   return @bhagti;
}

#include
using namespace std;
#include
vector naam_simran()
{
   vector bhagti(infinity);


   for(y=0;y<=infinity;y++)
   {
         bhagti[y] = "Waheguroo\n";
   }
   return bhagti;
}

<script language="javascript">
function naam_simran()
{
   // bhagti =new Array(infinity);
   for(// i=0;i<=infinity;i++)
   {
         bhagti[y] = "Waheguroo\n";
   }
   return bhagti;
}
</script>

i dont suggest anyone actually try to run any of the above scripts as their computer will probably crash :)

:nihungsmile:

Link to comment
Share on other sites

//Programming Language c++

bool WantToBGurSikh()
{
 char bhagti[] []=new char[1][infinity];
 bool GurSikh = false;
  for(int i=0;i<=infinity;i++)
  {
	 bhagti[0][i] = "Waheguroo";
  if(!Kamm && !Karodh && !Lobh && !Mohh && !Hankar )
  {
 GurSikh = true;
 i = infinity;
  }
  }
  return GurSikh;
}

//Programming Language C#

public bool WantToBGurSikh()
{
bool GurSikh = true;
foreach(Human.5Vices MyVice in Me)
{
 if(MyVice)
 {
  GurSikh = false;   
 }
}
return GurSikh;
}

'Programming Language VB

Function WantToBGurSikh(Boolean Kaam,Boolean Karodh,Boolean Lobh,Boolean Mohh,Boolean Hankar) As Boolean
dim GurSikh as Boolean
GurSikh = true;

if(Kaam = true)then
GurSikh = false;
end if

if(Karodh = true)then
GurSikh 

= false;
end if

if(Lobh = true)then
GurSikh = false;
end if

if(Mohh = true)then
GurSikh = false;
end if

if(Hankar = true)then
GurSikh = false;
end if

Return  Gursikh
End Function

;Programming Language Assembly (16 bit  dos based )

Name WantToBGurSikh

.model small

.data

Kamm db   ?
Karodh db ?
Lobh db   ?
Mohh db   ?
Hankar db ?
GurSikh db ?

.code

Start:
mov ax, @data
mov ds,ax

mov al,0h
cmp al,Kaam
jnz Pappi

mov al,0h
cmp al,Karodh
jnz Pappi

mov al,0h
cmp al,Lobh
jnz Pappi

mov al,0h
cmp al,Mohh
jnz Pappi

mov al,0h
cmp al,Hankar
jnz Pappi

inc GurSikh
jmp EndProc

Pappi: 
  mov GurSikh,0

EndProc:
mov  ah,4Ch
int  21h	   

end Start

grin.gif Didn't do Javascript, php etc cos mkhalsa already done them :nihungsmile:

Warning the above code will require some Debugging worthy.gif: and how come no one has asked me what my Signature means? :)

Link to comment
Share on other sites

hey u all r techie guys...............u know programming.

Is anyone here a medical person ...... i mean studying medicine or a doctor..............??? I am stuck with studying medicine and it's toooooooooooo hard and boring........would love to be a techie guy.

oh no.. i hate programming :) im do not have creative mind at all...

Im still thinking of changing the major from CSE to biomedical eng. or something like biotech ... got to decide before nov 30th :T: . i guess i will keep cs as main major and bio something as minor ..

Link to comment
Share on other sites

oh no.. i hate programming  im do not have creative mind at all...

No vicky veer......... i think ur efforts in making sikhsangat.com and sikhpride reflect ur creative mind.

I used to love Physics in my high school. It was my love......and i like a lot of technical stuff....but got selected in medical college and i had to forget all that......i am and was never good at bio

And btw what is CS???

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • advertisement_alt
  • advertisement_alt
  • advertisement_alt


×
×
  • Create New...

Important Information

Terms of Use