Found a cool game....

Found a cool game....

General — Page 1 [2]
begginer

2007 Oct 24 • 990
13 ₧
i can give you my old monitor ( don't pay attention to the gaping hole in the screen )
Wtf is that ? its a bird ! no its a plane ! amm maybe its a plastic bag . NO ! its SUPERJER ! the greatest super hero ever!
 
 
 
2008 Feb 20 at 02:56 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2008 Feb 20 at 15:32 PST
CornJer
Metal does cocaine.

Frontline Heroism Medal
2005 Mar 21 • 1531
36 ₧
Wow. In about an hour, I managed to learn the basics of Java.

And I must say, its damned convenient compared to C, even C++ in some (rare) cases, but it still can't outmatch the latter. C++ pwns it by a longshot. The lack of pointers is a major discrepancy, along with the bytecode thing. The whole virtual machine crap is essentially emulation, but there's always the GNU Java Library for native compilation, so thats not really a concern. If you haven't heard of it, I suggest you try it out here

(Thank you Richard Stallerman. )

Another thing I don't really like is the whole concept of outright forcing you to use object oriented programming. While I can understand the whole reasoning behind it, and why they did it, it really irks me that they removed global functions. The really powerful thing about C++, and why I love it so much, is the extendability of it. You could essentially build your own api with typedef, #define, operator, class, and struct. Sure, you got your things like the '+' operating with a string and a variable returns a text readout of it, but I could do that with the C++ 'string' class by inheritance and the 'operator' keyword.


#include <string>
#include <cstring>

//warning: very crude, wrote for demonstration.
class better_string : private string
{
better_string operator+ (const int& vartoprint)
{
better_string tempstring;
char temp [255]; //yes I know this is unsafe
sprintf(temp,"%s%d",this->c_str,vartoprint);
tempstring.assign(temp);
return tempstring;
}
}


Hell, if I wanted to, I could probably code all the little convinces that you get in java, right into a C++ header file. I'll give java credit: its a good, streamlined, basic language; especially for learning your first C syntax-ish language, but you'll probably want to move to C/++/0x (when it comes out) later.

EDIT: Forgot link to GCJ: http://gcc.gnu.org/java/
If you jump high enough you'll hurt your ankles when you land.
 
 
 
2008 Feb 20 at 17:47 PST — Ed. 2008 Feb 20 at 17:48 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
I know two people at the moment who are stressing about not being able to do Java ;)

It seems that they have been given demonic assignments, which doesn't surprise me. I have bad memories of Haskell tutorials last year.
 
 
 
2008 Feb 20 at 18:28 PST
SolidKAYOS
Count Adelaide

Roar Of The Tigress Medal
2007 Jun 24 • 84
68 ₧
In 1 second i learned how to make a message box..IN NOTEPAD!

x=msgbox("box text", ,"box title")

I'm too lazy to tell you the numbers

But i will say..

x=msgbox("box text",0+32 ,"box title")
Make awkward sexual advances, not war.
Down Rodeo said:
Dammit, this was the one place that didn't have this, but noooooo, molkman pisses all over that
 
 
 
2008 Feb 20 at 19:27 PST — Ed. 2008 Feb 20 at 19:29 PST
Jet Monkey Duo
Reff Admin

2005 Mar 26 • 159
114 ₧
You guys, if we could please get back on topic, Havocc gave me crabs.
Brayor
 
 
 
2008 Feb 24 at 01:07 PST — Ed. 2008 Feb 24 at 01:07 PST
Page 1 [2]