LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 10-12-2007, 01:08 AM   #1
Munchkinguy
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Linux-oriented Intro Programming book?


I have very little knowledge about computer programming (the last time I wrote a program, it was a Mad Libs thing in BASIC) but I would like to start learning. Unfortunately, most beginner programming books(ie Computer Programming for Dummies) are geared towards Microsoft Visual Studio. Can you recommend a good introduction to computer programming book that is geared toward Free Software?
 
Old 10-12-2007, 01:19 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
http://newdata.box.sk/bx/c/
... there are print versions like this. The guide makes no platform assumptions.
This is the kind of thing you need to start out with. Then you move on to the use of specific libraries.
 
Old 10-12-2007, 04:44 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,453

Rep: Reputation: 490Reputation: 490Reputation: 490Reputation: 490Reputation: 490
depends what you want to do (do you want to write Linux-specific programs and you have sufficient knowledge of a language; do you want to improve your knowledge of a specific language and are only concerned about linux as a generating-platform, do you want to know more about gui programming and widget sets, do you want to know more about linux/unix/posix as an execution environment?)

However, I'm going to recommend "Beginning Linux Programming" by Matthew Stones (wrox) as a book that does a good round up of the Linux environment (the shell as a tool for the programmer) before covering some of the basics of programming. Given its wide focus, you would probably be wise to consider it in combination with something that specialises more on the specific type of programming that you want to do (and the languages/tools that you intend to use).

For me, I thought it was a good book - I wouldn't recommend that you buy a book like this on-line; bookshops have the valuable facility that you can look at the book first and see whether it really appeals.
 
Old 10-12-2007, 06:09 AM   #4
Evil_Trevor
LQ Newbie
 
Registered: Sep 2007
Location: West Cumbria
Distribution: Fedora & Ubuntu
Posts: 2

Rep: Reputation: 0
A possible way forward

Hi,

Before spending on books it would be well worth your time to try some of the many on-line tutorials, try looking at the Linux Format website where they have a load of tutorial stuff on a wiki. That way you can look at some of the languages and tools before parting with your hard earned.

Trev.
 
Old 10-12-2007, 08:43 AM   #5
santana
Member
 
Registered: Sep 2004
Distribution: FC, ubuntu, OpenSuse
Posts: 112

Rep: Reputation: 16
If I were you I would check out "advanced programing in the Unix environment" (see http://www.yendor.com/programming/unix/apue/apue.html).

Don't be scared away by the title, this book is the most basic book about standard unix, how it works, how to programm for it. And 99% of the material applies to linux.
 
Old 10-12-2007, 10:06 AM   #6
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
A great book is C Programming by Kernighan & Ritchie (do a quick web search and you'll find why those two exactly). It's not a big book ("because C is not a big language"), and it's not geared towards any certain compiler or environment, though it contains a lot of things that refer (either directly or indirectly) towards UNIX (and Linux as well). It contains full code examples, code pieces with explanations, and a lot more - I read it some time ago, loaned from a library, and after it decided to buy it (surprisingly enough only two books were available in the whole country, trough the "big" bookstore I went into).

It's about C programming, but it'll teach you some general ideas as well, or at least it did for me. I had some programming experience before reading it, but had not done much really -- and I can say it's the best book I've read/tried to read over the years (most of the books I tried to read were just so off the wall that they weren't of much use).

It starts where they all start - "hello, world!" - and is easy to follow, but will contain enough to learn for you even if you have done some programming in the past.
 
Old 10-12-2007, 04:09 PM   #7
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 706

Rep: Reputation: 68
Hi.

There is a collection of posts at http://ubuntuforums.org/showthread.php?t=333867 How to start programming - guides and links for many languages. Many have an outline of the form:
Quote:
Why Python?
Python books
What is Python good for?
Python Philosophy
Who uses Python
a companion thread is http://ubuntuforums.org/showthread.php?t=554070 New Programmers In Linux -- Read This
Best wishes ... cheers, makyo

Last edited by makyo; 10-12-2007 at 04:11 PM.
 
Old 10-15-2007, 08:35 PM   #8
Munchkinguy
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, all.
 
Old 10-16-2007, 02:56 AM   #9
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Puppy
Posts: 3,048

Rep: Reputation: 95
unix power tools is good for generally knowing your way around.


google CD bookshelf,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cybernetics Oriented Programming (CYBOP) Book LXer Syndicated Linux News 0 02-22-2007 05:31 AM
Need good Linux or Unix INTRO book (command line focused) Ethan Linux - General 7 01-09-2007 12:24 AM
LXer: Aspect oriented programming with Java LXer Syndicated Linux News 0 10-26-2006 10:54 PM
perl object Oriented Programming Question eastsuse Programming 1 08-20-2004 12:29 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration