Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

Nate

Nate Avatar

**
Official Member

85


July 2007
Alright I saw this game at Hatake. And it was a great way to learn stuff? So all you have to do is guess which language it is and guess what it does. We'll start easy:

function crazy_j(greg){
var cd = document.getElementById(greg);
var hp = cd.height;
var nate = cd.width;
var uberness = hp * nate;
return uberness;
}



Gunny

Gunny Avatar
Go Team Tux!

**
Official Member

37


November 2005
JavaScript

Xikeon

Xikeon Avatar

***
Dedicated Member

152


August 2005
Jup it is JavaScript, now me:

$name = 'Mike';
while($name == 'Mike')
{
echo 'this wil repeat Mike!<br />';
}

Nate

Nate Avatar

**
Official Member

85


July 2007
mikeo said:
Jup it is JavaScript, now me:

$name = 'Mike';
while($name == 'Mike')
{
echo 'this wil repeat Mike!<br />';
}
PHP and it says your name?

btw: your supposed to tell what it does to ::)

Xikeon

Xikeon Avatar

***
Dedicated Member

152


August 2005
o, sorry :P

dja

dja Avatar

*
New Member

24


February 2006
can i do one please?

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005
heh i got one for ya..

if($pho3nix >= $everyone_else) {
echo "Yami Pwns u all";
}
else if($pho3nix <= $everyone_else) {
$pho3nix == ">";
echo "Yami still pwns u all";
}

:P

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
PHP and echos "yami pwns you all" and "yami still pwns you all" depending if yami is more or equal to every one else and if yami is less or equal to everyone else.
Even though alot of variables in the code were not defined....


Let's keep it simple for you guys. =P

#include <iostream>
using namespace std;
int main(void)
{
   cout << "You noobs !!";
   return 0;
}


Chris

Chris Avatar

******
Head Coder

19,519


June 2005
I'm going to say C++ or C, and I think it displayed "You noobs !!" but I'm not quite sure. :P

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005
its C++ chris lol :D


dim h
h=hour(now())

response.write("<p>" & now())
response.write(" (UK Time) </p>")
If h<12 then
response.write("Good Morning!")
else
response.write("Good day!")
end if




Last Edit: Mar 17, 2006 13:34:12 GMT by Llanilek

Nate

Nate Avatar

**
Official Member

85


July 2007
bakura said:
its C++ chris lol :D


dim h
h=hour(now())

response.write("<p>" & now())
response.write(" (UK Time) </p>")
If h<12 then
response.write("Good Morning!")
else
response.write("Good day!")
end if

This is visual basic and it displays Good Morning or Good Day depending on the time of Uk.

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005
its actually asp using vbscript as the tags to use it are <% %>


Last Edit: Mar 17, 2006 15:27:11 GMT by Llanilek

hpmad

hpmad Avatar



858


September 2005
oooooooooo this looks fun!

#include <iostream>

using namespace std;

int main(){
   int pwned;
   cout<<"Does hpmad pwn you?";
   cin>>pwned;
   if(pwned=='yes'){
      cout<<"I shall bow down to hpmad and feed him grapes all day."
   }else{
      cout<<"I still have to bow down to hpmad and feed him grapes all day."
   }
return 0;
}


Man I still suck at this language >.< *reads more tutorials*


Last Edit: Mar 17, 2006 19:32:43 GMT by hpmad

Xikeon

Xikeon Avatar

***
Dedicated Member

152


August 2005
hpmad said:
oooooooooo this looks fun!

#include <iostream>

using namespace std;

int main(){
   int pwned;
   cout<<"Does hpmad pwn you?";
   cin>>pwned;
   if(pwned=='yes'){
      cout<<"I shall bow down to hpmad and feed him grapes all day."
   }else{
      cout<<"I still have to bow down to hpmad and feed him grapes all day."
   }
return 0;
}


Man I still suck at this language >.< *reads more tutorials*


Is it C++ ? :P

Gunny

Gunny Avatar
Go Team Tux!

**
Official Member

37


November 2005
Fine then:

function gunny($name) {

if $name='cali' {

echo 'Sorry, great one! *bows*';

}

else {
echo '$name is smelly';

}
}

newBookmarkLockedFalling