[Tutorial] The Independant Java Tutorial

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

CoBB wrote:
Timendus wrote:If I'm not mistaken, w3m requires a graphical environment, and Lynx only a command line...
Why? It's a console/filter program.
Because it didn't work a week ago when I hadn't installed X yet :)

And Patori, I agree with CoBB on all matters. Although I'm not sure it would be useful to go into detail about Import. I'd just point out that it doesn't really include the files, so it will not hurt to import too much. Everything else isn't really neccessary in a beginners tutorial.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

Well, you don't want to import EVERYTHING, because then you'll have so many ambiguities that you'll be specifying for everything and be back where you started.
ImageImage
Image
Patori
Maxcoderz Staff
Posts: 1479
Joined: Sat 18 Dec, 2004 3:51 am
Location: Toledo, Ohio, USA

Post by Patori »

will fix...
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...
Patori
Maxcoderz Staff
Posts: 1479
Joined: Sat 18 Dec, 2004 3:51 am
Location: Toledo, Ohio, USA

Post by Patori »

updated some, tell me what you think... tutorial 3 is in the works too...
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...
necro
Calc King
Posts: 1619
Joined: Sat 26 Mar, 2005 2:45 am
Location: your shadow

Post by necro »

could I program stuff in java if I have a Win98? (it says XP/2000)
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

Of course you can, the instructions would just be a bit different (mainly with dealing with the command line).
ImageImage
Image
User avatar
Shadow Phoenix
Calc Guru
Posts: 835
Joined: Mon 03 Jan, 2005 7:54 pm
Location: out there. seriosly.

Post by Shadow Phoenix »

oookkkkkaaay.

byte Byte-length integer 8-bit two's complement
short Short integer 16-bit two's complement

Never used it in my program


char A single character 16-bit Unicode character
boolean A boolean value (true or false) true or false
what about String?
Life is getting better.
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

String isn't a variable type. It's an Object.
ImageImage
Image
DarkAuron
Maxcoderz Staff
Posts: 1349
Joined: Sat 18 Dec, 2004 6:53 pm

Post by DarkAuron »

Well, more like a dimensioned char. I think.. I don't know; high level languages are horrible :P
[Gridwars Score] - E: 1860037 M: 716641 H: 261194
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

No, that's C where a String (which doesn't even really exist) is a character array. In Java, a String is a subclass of Object. It's not primitve. (Internally, it uses an array (I think) of chars.)

You should know this!
ImageImage
Image
DarkAuron
Maxcoderz Staff
Posts: 1349
Joined: Sat 18 Dec, 2004 6:53 pm

Post by DarkAuron »

Why should I know something about a language I despise? You can't really use java for creating games, it's too slow!! And for the most part, I'm a game programmer, so.. bah. I only use java because that's the only thing we're using in my CS class.
[Gridwars Score] - E: 1860037 M: 716641 H: 261194
Andy_J
Calc Master
Posts: 1110
Joined: Mon 20 Dec, 2004 10:01 pm
Location: In the state of Roo Fearing
Contact:

Post by Andy_J »

DarkAuron wrote:I only use java because that's the only thing we're using in my CS class.
Which is why you should know that. :-\
ImageImage
Image
Patori
Maxcoderz Staff
Posts: 1479
Joined: Sat 18 Dec, 2004 3:51 am
Location: Toledo, Ohio, USA

Post by Patori »

AndySoft wrote:No, that's C where a String (which doesn't even really exist) is a character array. In Java, a String is a subclass of Object. It's not primitve. (Internally, it uses an array (I think) of chars.)

You should know this!
== reference variable!
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...
Patori
Maxcoderz Staff
Posts: 1479
Joined: Sat 18 Dec, 2004 3:51 am
Location: Toledo, Ohio, USA

Post by Patori »

UPDATE: Project Cancelled.


Scratch that....
Last edited by Patori on Thu 19 May, 2005 5:43 pm, edited 1 time in total.
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...
thecheat
Calc Guru
Posts: 901
Joined: Tue 29 Mar, 2005 9:13 pm
Location: almost..........there........

Post by thecheat »

why?
Post Reply