LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-12-2010, 11:19 AM   #16
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729

Quote:
Originally Posted by MTK358 View Post
It's easy to find a free PDF copy of it online
Can anyone confirm that the online versions of K&R are legal? (I have seen many books free online, and I've never thought about how to confirm that they are legal.)
 
Old 07-12-2010, 11:23 AM   #17
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by pixellany View Post
Can anyone confirm that the online versions of K&R are legal?
I don't know. I just know that it's easy to find both online HTML and PDF versions when you search for it.
 
Old 07-12-2010, 11:56 AM   #18
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,314

Rep: Reputation: 175Reputation: 175
one can find loads of o'reilly books too.
I doubt any of it is legal.

mind you K & R must be about an hundred years old now.
 
Old 07-12-2010, 12:04 PM   #19
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by bigearsbilly View Post
one can find loads of o'reilly books too.
I doubt any of it is legal.
...
Many of them are - O'Reily often themselves publish their books online several years after first publishing a hardcopy: http://oreilly.com/openbook/ .
 
Old 07-13-2010, 01:54 PM   #20
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 547

Rep: Reputation: 38
http://www.google.es/search?q=c+prog...ient=firefox-a
 
Old 07-13-2010, 02:43 PM   #21
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,984

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
Quote:
Originally Posted by pixellany View Post
Can anyone confirm that the online versions of K&R are legal?
They're definitely not. This can be confirmed by visiting the book's homepage (http://cm.bell-labs.com/cm/cs/cbook/), the homepages of its two authors, and its publisher's homepage, none of which list a free copy.
 
Old 07-13-2010, 03:01 PM   #22
rjcooks
Member
 
Registered: Jan 2008
Location: NE AR USA
Distribution: Fedora & openSUSE ...Mandriva-2010.1.
Posts: 81

Rep: Reputation: 20
Quote:
Originally Posted by dugan View Post
Buy this. It's the best C tutorial I've found; platform neutral, and easily worth the initial investment.

http://www.amazon.com/Primer-Plus-5t...dp/0672326965/

I read it in 2-3 nights after I got it.
Ditto ...except the 2-3 nights part.

I used a previous edition from the LIBRARY and worked through it. Very good but quite a lot of problems, especially with the book(publisher's fault), that were fixed in 5th edition. I waited for the 5th edition because it is updated with ANSI/ISO standard, C99. The 5th isn't perfect either but I've never seen a better one.

BTW, he has C++ Primer Plus too. My personal fav is the old-er hardback Mitchell Waite Series(3rd Edition). Brand new is still less than 20 bucks, used for $5 delivered(USA) ... .
 
Old 07-13-2010, 06:37 PM   #23
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Another vote for the Prata book. And yes, the typos are annoying. I would not recommend K&R as an introductory book. C has undergone multiple revisions since then. I believe that the int main () sample someone posted before is just one example: c99 would have int main (void) instead.
 
Old 07-13-2010, 07:05 PM   #24
baxzius
Member
 
Registered: Jan 2010
Location: India
Distribution: ubuntu
Posts: 134
Blog Entries: 1

Rep: Reputation: 21
Come on guys....
Question is.....
The person wanna make program concern Linux not windows.
so i beleive he have the right abilities of basics.

i beleive the following link will help hime to make advanced applications.
enjoy!
http://www.advancedlinuxprogramming.com/alp-folder
 
Old 07-15-2010, 03:31 PM   #25
baxzius
Member
 
Registered: Jan 2010
Location: India
Distribution: ubuntu
Posts: 134
Blog Entries: 1

Rep: Reputation: 21
well,if you finished studying the basics of C programming,
you can put your hands on GUI application programming using gtk libraries.
 
Old 07-17-2010, 01:27 PM   #26
rjcooks
Member
 
Registered: Jan 2008
Location: NE AR USA
Distribution: Fedora & openSUSE ...Mandriva-2010.1.
Posts: 81

Rep: Reputation: 20
Quote:
Originally Posted by baxzius View Post
Come on guys....
Question is.....
The person wanna make program concern Linux not windows.
[snip]
I understand that. ONE reason the 5th edition of c Primer Plus is my choice is because it contains information about applications using Linux OS. Of many, very many, c books I researched it is the ONLY one that is comprehensive(i.e., has c99 info et more) and includes Linux & therefore even some GCC info) information when appropriate(not a lot - GCC changes too fast).

Get the book from library and see for yourself. It has been translated into many languages (but I only know about the English version).
 
  


Reply

Tags
programming


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



All times are GMT -5. The time now is 02:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration