![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Jun 2007
Location: Sydney
Posts: 909
|
Guys I've just started using Xubuntu in dual boot with xp home. I'm trying to learn the ins and outs of *nix as well as starting to learn some basic programming with Java and C. I start my uni course next for next semester as I deferred this semester, But I'd really like to get a head start. I'm not too familiar with what C compilers and Java tools are available for *nix.
As you can tell I know nothing my only programming experience has been with VB so I need to get a head start as quickly as possible otherwise I won't pass. ![]() Any help is appreciated
__________________
Guitar Amps and Bass for sale- Fund my next amp purchase |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 | |
|
Member
Join Date: Jan 2007
Location: Perth
Posts: 613
|
Quote:
__________________
CCCP |
|
|
|
|
|
|
#3 |
|
Member
Join Date: Jun 2006
Location: Sydney
Posts: 92
|
Check out netbeans or eclipse for a Java IDE. Dunno what you'd use for C though, I just use vim. Now, someone has to tell you to use emacs...
|
|
|
|
|
|
#4 |
|
Member
Join Date: Dec 2005
Location: Auz
Posts: 159
|
If I was you I would start out with Java before C. Java gets you into programming a lot quicker than C does and is easier to learn because it has great documentation [Link]. I would start with a simple text editor rather than an IDE as chances are you will not be needing any of the advanced features that an IDE provides other than syntax highlighting and the compile button. So try out vim, emacs, and jed for programming in the console or kate, and SciTE on the desktop. I used Scite for learning java on windows and it is perfect: text editor, output window, syntax highlighting, tabs and build/compile buttons.
As for C you might want to find a book to learn from like K&R's The C Programming Language, I picked up a copy off ebay for about ~$35. I also remember finding a neat little tutorial on making a pong clone in C using SDL at LinuxDevCenter [Link] if you want to give games a go. The thing to do is find a lot of examples and try to replicate them. You should also try to make your own little redundant app's that use as many different data types and statements as possible. Text based adventure games are the best things for this really. Have FUN!
__________________
You can't spell slaughter without laughter! Main System[Arch]: AMD Phenom II x4 955 @ 3.2GHz # NVIDIA GeForce GTX275 # Thermaltake Shark case # ASUS M4A78T-E # Samsung SyncMaster 2233 21.5" LCD 1080p MacBook[Tiger]: 13" # 2Ghz # 1GB RAM # 60GB HDD |
|
|
|
|
|
#5 |
|
Member
Join Date: Jan 2003
Location: Briz Vegas
Posts: 2,333
|
Personally, if your going to use *nix and want to learn some programing I would start with Perl, then C and Java last. Also since your using Ubuntu, Python would be a good language to learn if you want to use GTK+, as a quick knock up language.
|
|
|
|
|
|
#6 | |
|
Member
Join Date: Jul 2002
Location: Tasmania
Posts: 4,019
|
Quote:
![]() I found a really good lightweight IDE called Geany the other day. Seriously unbloated, and it's got all the useful features I want/need. http://geany.uvena.de/
__________________
OCAU MetaL Club Member #666 | last.fm 2005: Megadeth | 2006: Opeth | 2007: Blind Guardian, Sodom | 2008: Iron Maiden | 2009: Pain of Salvation, Dream Theater 2010: Ensiferum, Sonata Arctica, Wolves in the Throne Room |
|
|
|
|
|
|
#7 |
|
Member
Join Date: Jun 2001
Location: Sydney
Posts: 108
|
i know at my uni they teach java with an IDE called Blue J which is a lightweight introduction to classes IDE available free for download. you might want to check this out.
|
|
|
|
|
|
#8 | ||
|
Member
Join Date: Jun 2003
Location: Gold Coast, Qld.
Posts: 1,364
|
Quote:
Quote:
Source In other news, I would suggest if you are learning a programming language for academic purposes that you start with C, by reading this book. From there, move to C++ to make the leap in learning the object oriented approach to problems, overloading operators, the scope resolution operator ( :: ), const, using new and delete for dynamic memory allocation and so on. Once you have all that under your belt, Java will be a cinch. In my opinion you'll be a better programmer starting with C, then C++ and finally moving to Java rather than the other way around. Shell scripting is also important, learn a little bit of bash and from there move to either Perl, Python or Ruby. All of these have their pros and cons. Python looks like a solid choice as both a unix scripting language and for writing quick apps using GTK+ libraries if you require a GUI. Ruby is just as powerful as Python from what I understand as a scripting language (although its libraries may not be quite as good as Python's) and using the Rails framework you can rapidly develop decent web apps. Finally, Ruby will facilitate you learning some advanced concepts you'll find in Lisp, your final language in the journey of being a master programmer on the *nix platform. Now, I should stress that there is no correct answer for the question you've posed - many are going to have differing opinions on the subject. Over the last year this debate has erupted on slashdot no less than 3 times, reading those discussions is a wise choice if you'd like to hear more opinions before you make your own. Disclaimer: I don't know Python or Ruby yet - I've been reading about the two for months to figure out which to learn. Final disclaimer: I use Vim. If you choose to, first create a .vimrc in your home directory and put in it: set nu set background=dark syntax on This will get you line numbers and syntax highlighting. |
||
|
|
|
|
|
#9 | |
|
Member
Join Date: Jan 2007
Location: Perth
Posts: 613
|
Quote:
Anyway, it sounds like the OP is going to be using c + java because that's what uni will require. </attempt to underail thread>
__________________
CCCP |
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|