LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-13-2006, 12:43 PM   #1
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
Need Help in Programming


I switched over to Linux 3 years ago. In these three years i focused on System And network administration. However i am a programmer by profession and my area of specialization is Java. However when we talk about Linux the programing language that comes to the forefront is C or C++. Since i am well acquainted with Java, i personally feel that C++ would be a better language. So i need suggestion. Which Language would be better from a Linux perspective. Java, C++ or C (obviously keeping in mind my Java orientation i've been programing for the last 6 years in java) And if the answer is C++ or C, would any one point out to a few resources regarding the language.

Thanks in Advance
 
Old 01-13-2006, 01:04 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
If you have 6 years doing professional Java, then I see no reason why you couldn't pick up C and C++ without too much trouble. It is generally useful to pick up both languages. If you need, or think your app could benefit from OOP use C++, otherwise use C. As for resources, just do a google and you will find lots of free online tutorials for both. Once you are up to speed on sysntax, and the languages peculiarities (they all have some) then I suggest getting a couple of books:

The first is a good general introduction to using Linux as a development platform:

Beginning Linux Programming by Neil Mathew and Richard Stones (Wrox)

This book covers almost everything: Shells (bash), redirection/filestreams, shell scripting, terminals/curses, databases (dbm, mysql), development tools: make, rcs, cvs, gdb. The last several chapters feature quick introductions to various system and library calls including example code. There is also a brief introduction to gui coding with both qt and gtk.

After you are comfortable with the basics, you can pick up up:

Advanced Programming in the UNIX Environment by W. Richard Stevens and Stephen A. Rago (Addison-Wesley)

which serves as a comprehensive reference to _all_ POSIX calls/functions/libs, allowing you to write code that will run on pretty much any UNIX system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which programming language is used to do tcp/ip programming?? gajaykrishnan Linux - Networking 9 12-21-2012 05:16 AM
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
Can C be used in AI programming? purpleburple Programming 25 09-17-2002 02:19 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration