i'd like to learn a programing language!

Anything and Everything about Uplink

Moderators: jelco, bert_the_turtle, Chris, Icepick, Rkiver

Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Wed Aug 20, 2003 9:51 am

look what ive started!
User avatar
NeoThermic
Introversion Staff
Introversion Staff
Posts: 6256
Joined: Sat Mar 02, 2002 10:55 am
Location: ::1
Contact:

Postby NeoThermic » Wed Aug 20, 2003 10:22 am

Well, choice of a programming language is like choice of an OS, its got only a few things to help you decide, mainly: 1) what you need it for, and 2) how easy it is to acomplish #1.

If you just want to make windows only apps, with a GUI and fast, things like Delphi and VB are perfect for that. For text based apps, QBasic, Pascal, and the edges of Java and C++ are perfect for that. For games, [and we are talking proper 3D games here] then the main route is C++ [although VB does have DirectX lib's, allowing a few tricks to be done...]
If you want to be able to port your apps over to other OS'es, then Java and C++ allow that to happen, so they would be top on your list of things to do.

But as I said when I started, you need to look at why you need the language, and then look at each language we suggest until you find one that matches the requirements.

As for the best way to learn them; Books, other peoples code [ www.planet-source-code.com is a GREAT resource for that ], and articles about how to do extra little bits in your chosen language are the best ways to learn. Have a go, the worst thing you can do is learn to hate a programming language, and try another.

Hope that this all helps...

Oh and bgreene2001, do you mean this: [font=symbol]⊂ [/font]  ? [subset character defined by XHTML w3c standerd 1.0].

NeoThermic
[ a [font=symbol]⊂ [/font] of the borg :P
[NOTE: the IB doesn't support the character whatso ever, but if you fire up Character map, place the font to symbol and select character 0xCC thats the one :P]
[EDIT: stupid spelling mistakes :P]

(Edited by NeoThermic at 10:29 am on Aug. 20, 2003)
Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Wed Aug 20, 2003 10:27 am

wel then, you see we have a slight problem,

because i have no real reason to want to learn a language i thought it would be something fun to do rather than id like o be able to make a (such and such) so i ' d best learn (such and such)
User avatar
NeoThermic
Introversion Staff
Introversion Staff
Posts: 6256
Joined: Sat Mar 02, 2002 10:55 am
Location: ::1
Contact:

Postby NeoThermic » Wed Aug 20, 2003 10:35 am

Well, you not left with a problem then, you still follow my 1 2 convention.

1) you need it for the fun of learning a language, so now
2) you need to find a language that makes it fun to learn.

Have a look over the whole topic again, and write out each programming language we listed, then do searches on the syntax of the code, and its advantages, and then you will be left with a clear sense of direction of which to have fun with.

NeoThermic
Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Wed Aug 20, 2003 11:00 am

i had a look at planet-source-code

i think java colud be a good language to learn,

so i think it will be java,

i dont think i want to learn how to do one particular thing with java i want to learn all the different things i can do
bgreene2001
level5
level5
Posts: 1310
Joined: Sat Dec 22, 2001 3:46 pm
Location: Melbourne, Australia

Postby bgreene2001 » Wed Aug 20, 2003 12:11 pm

Hehe, that will be difficult.  You see all the classes in the sun documentation we pointed you to?  That's everything java can do.  I'd say it's fair odds no one knows everything java can do.  That's why there is that reference you can search through :)
I swear Officer, I didn't know she was 4!
My Profile, my mates site, Bloody Mongrel.  Great stuff.
Click here to help me get some free magnets :)  Pleeeease?
Virulent Virus
level4
level4
Posts: 517
Joined: Sun May 12, 2002 1:21 pm

Postby Virulent Virus » Wed Aug 20, 2003 12:27 pm

Thanks for that compiler link Angry Armadillo, I needed that cos the working model edition i have dont include one. Now i can finnally distribute my projects! :biggrin:
This is not a signature.
Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Wed Aug 20, 2003 1:28 pm

what compiler link? im stil looking for a compiler
bgreene2001
level5
level5
Posts: 1310
Joined: Sat Dec 22, 2001 3:46 pm
Location: Melbourne, Australia

Postby bgreene2001 » Wed Aug 20, 2003 1:40 pm

Java 1.4.2 SDK.  Click on 'sdk' in the 'J2SE' section, agree to their shrink-wrap licence (don't bother reading it, no one else ever does :P).  Install it, att the install directory to your path variable.

To compile:
(say your source file is MyProggie.java)
javac MyProggie.java

To run after you compile:
java MyProggie
(leave off all extentions)

And I would recommend getting at least an editor that does line numbers, or things get difficult very quickly when you debug :)
I swear Officer, I didn't know she was 4!
My Profile, my mates site, Bloody Mongrel.  Great stuff.
Click here to help me get some free magnets :)  Pleeeease?
Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Wed Aug 20, 2003 1:43 pm

i d/l that compiler and tried running whist offline last night, it didnt work, but its d/ling whatever it needs to download for "preparing to install"
Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Wed Aug 20, 2003 2:12 pm

another *hopfully* minor setback

ive got on to the setup program for that compiler,


it says plese whai while it instalss... blah blah

but ithink its downloading more files

it said before 120mb on your HDD is it a 120mb d/l

*hopefully* not, my dial up cant take it
Octavious
level2
level2
Posts: 120
Joined: Wed Jul 17, 2002 8:20 pm
Location: USA

Postby Octavious » Thu Aug 21, 2003 11:43 pm

Quote: from bgreene2001 on 6:44 am on Aug. 20, 2003[br]Hehe, I love a good, pointless aregument :)


I love arguement too, but I am spent, as I have spent the last two days hiking with three people who have never gone hiking before, and ended up hauling a 30 kilo pack. Pain.
If at first you don't succed, find a bigger hammer.
For my government, I want Democracy. For my society, I want Socialism. For myself, I want Anarchy.
http://uplink.stewsburntmonkey.com/profile.php?Octavious
Stewsburntmonkey
level5
level5
Posts: 11553
Joined: Wed Jul 10, 2002 7:44 pm
Location: Nashville, TN
Contact:

Postby Stewsburntmonkey » Fri Aug 22, 2003 3:01 am

Heh, I spent 9 days a couple years ago hiking in the mountains with a 30 kilo pack, great time.  :)
bgreene2001
level5
level5
Posts: 1310
Joined: Sat Dec 22, 2001 3:46 pm
Location: Melbourne, Australia

Postby bgreene2001 » Fri Aug 22, 2003 11:12 am

I'm kinda spent too.  For me it was a marathon drinking session compressed into 2 hours.  I don't remember a thing past 10:30 pm :(
I swear Officer, I didn't know she was 4!
My Profile, my mates site, Bloody Mongrel.  Great stuff.
Click here to help me get some free magnets :)  Pleeeease?
Angry Armadillo
level3
level3
Posts: 331
Joined: Sat Apr 27, 2002 4:33 pm
Location: England
Contact:

Postby Angry Armadillo » Fri Aug 22, 2003 12:18 pm

^heheh

ive solved the problem of instaling the compiler, by downloading the .cab file


i also had a look at some java script and i have wrote my own

-if statement
-clock
-an easy-to-password prompt
-also an easy-to-crack password prompt which opens unlimited browsers if you get it wrong

i am going to set myself the challange of writing a simple game next, and i will look all the code up from scratch rather than modifying other peoples

Return to “General”

Who is online

Users browsing this forum: No registered users and 24 guests