Programming Books C Java PHP Python Learn more Browse Programming Books
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Sams Teach Yourself C for Linux Programming in 21 Days Paperback – December 22, 1999


Amazon Price New from Used from
Paperback
"Please retry"
$51.20 $1.36

NO_CONTENT_IN_FEATURE

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Series: Sams Teach Yourself...in 21 Days
  • Paperback: 768 pages
  • Publisher: Sams (December 22, 1999)
  • Language: English
  • ISBN-10: 0672315971
  • ISBN-13: 978-0672315978
  • Product Dimensions: 9 x 7.2 x 1.8 inches
  • Shipping Weight: 3.3 pounds
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (16 customer reviews)
  • Amazon Best Sellers Rank: #1,888,561 in Books (See Top 100 in Books)

Editorial Reviews

From the Back Cover

Sams Teach Yourself C for Linux Programming in 21 Days presents C programming techniques in a logical and easy-to-follow sequence that helps you understand the principles involved in developing C programs. You'll begin the basics of writing a program, then move on to arrays, pointers, disk input/output, functions, and more. Learn the basics of C, including variables, constants, conditional statements, loops, pointers, data structures, input/output, and functions. This book presents C in the most logical and easy-to-learn sequence, and is geared towards programmers learning the C language for Linux. Also included will be additional material needed to develop and execute programs for Linux.

About the Author

Erik de Castro Lopo is a professional Research and Develpoment engineer who lives and works in Sydney Australia. He used UNIX extensively while at University and discovered Linux in 1995. He is a regular visitor to the Linux Usenet newsgroups, has contributed bug fixes to many open source projects and has also released some of his own code under the GNU General Public License.

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.2 out of 5 stars
5 star
9
4 star
4
3 star
2
2 star
0
1 star
1
See all 16 customer reviews
After finishing this book, i have an entirely new outlook on why this book is so good!
T. Fitzpatrick
It also provides a good tutorial into basic GCC usage and the peculirities of programming for Linux, I recomend it.
Geoff Thornton
I found this book to be well written and understandable given that it is a programming book.
Joseph Marrero

Most Helpful Customer Reviews

48 of 49 people found the following review helpful By David L. Van Popering on February 25, 2000
Format: Paperback
Aside from teaching myself BASIC on my Commodore 64 way-back-when...this is the first programming language I have learned and I owe it all to this book. It is fantastic. Step-by-step, they take you from defining/describing what C is, to writing real-world programs.
You would do well to ignore the ignorant reviewers who complain about the title "21 days" (or 24 hours). These people are only looking for excuses. All the 'Teach yourself in 21 Days' books should be seen as 21 LESSONS (and the 24 hours as 24 LESSONS). Could I do it in 21 days? Yes, following the book's plan I could. Easily. But, I have a full time job, family, etc. and these factors can NOT be held accountable by the authors. 21 Excellent Lessons.
Days, Hours, months...whatever YOUR pace is, this book does an EXCELLENT job of teaching you what you need to know to write real-world, practical C Programs. I first learned Unix with using of the 'Teach yourself' books and have been a devoted reader ever since.
Some days I have time to go through 2 lessons while other times a single lesson may take me a day or 2 due to time constraints. Bottom line: I LEARNED C FROM THIS BOOK AND YOU CAN TOO.
I am NOT a computer science major. I am a self-taught Linux hacker who never wrote a line of code (except for a little BASIC 15 years ago) and I am now writing C code and tinkering with Open Source programs. (I'm running Slackware and Debian, if you were wondering).
Other tutorials are fine but many assume you are using Windows 95/98. "C is C is C", but this book is written in 'Linuxland' for Linux users; GCC is carefully explained and used here. I use and love the Nedit editor which was one of several recommended in the book.
New to C? Or want a fresh start from the beginning while in a Linux environment? GET THIS BOOK and digest all 21 LESSONS at your own pace!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 12 people found the following review helpful By Geoff Thornton on March 10, 2000
Format: Paperback
I have been learning C++ for a while on a linux platform, and started to look at some C stuff in the kernel and other programs to broaden my knowledge. I saw that that although C++ is derived from C it doesn't necessarily do stuff the same way, so I picked up this book. It was right on the mark! and explained some peculiar C stuff right away and in a good easy to read style. It consolidated my knowledge well an added to my understanding, particularly with pointers to pointers by including well thought out text and pictures well done. It also provides a good tutorial into basic GCC usage and the peculirities of programming for Linux, I recomend it.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
10 of 10 people found the following review helpful By Christopher Culver TOP 1000 REVIEWER on September 13, 2002
Format: Paperback
Sam's TEACH YOURSELF C FOR LINUX IN 21 DAYS is the ideal book for the total beginner wanting to program in Linux. C is the dominant language on Linux, as the kernel and most GNU and GNOME apps are written in it, and this book teaches C in a clear manner without expecting the reader to already know programming concepts.
The book opens with a few chapters of basic C program structure and the mathematical functions needed to perform tasks. After that, it immediately introduces three key programming concepts: strings and streams (inputing from and outputing to an external source). While most programming books don't discuss these concepts until late in the book, keeping the reader caged in mere theory without being able to make a useful program, TEACH YOURSELF C FOR LINUX introduces them early so that the learner can immediately start producing useful programs to solve common tasks.
While Sam's guide to C++ programming on Linux is actually just its generic C++ guide with a few token Linux references, happily Sam's TEACH YOURSELF C FOR LINUX is really solid on Linux and its authors are have actual experience in open-source design.
My only complaints are the limited coverage of structs, which can really make C programming easier and more powerful if used correctly, and of the GNU C Library. The glibc info documentation is so concise and difficult to follow that beginners need a better guide, and it's a shame that this book didn't provide it. The book is also three years old, so its chapter on GUI programing with GTK is somewhat out of date now that GTK2 has been released, although porting a GTK+ app to GTK2 is not a lot of work.
Linux is a platform where luckily all the tools one needs to get started programming are shipped free, and contribution to free (or "open-source") is encouraged. If you want to capitalize on the advantages of the platform, Sam's TEACH YOURSELF C PROGRAMMING FOR LINUX is the way to go.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By "cronosii" on May 31, 2001
Format: Paperback
I read this book about 8 months ago and I must say that it's the best introduction to C you can ever have. Yet it has a lack in some aspects, like not explaining the enum keyword, C is too big to cover it in just one book. I think this book makes the best in keeping things clear, explaining some theories (like linked list), keeping things kinda short and giving a general introduction to most aspects. I see two things very important missing, socket programming and enum keyword, the rest is very well written.
It also gives you a little introduction to X (graphics) programming with GTK+.
While reading this book I started coding a mail client for GNOME called Cronos II which is getting bigger and popular, and I must thank the knowleadge to this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By T. Fitzpatrick on December 31, 2002
Format: Paperback
This book is beyond as good as i said in my last review, well this is an update. After finishing this book, i have an entirely new outlook on why this book is so good! I always find myself looking back for a reminder; if there's something i need a refresh or rescale on, it's got it. it teaches compiling all the way to deployment. This book is desirably the best in my GNU/Linux stash. There are so many extras in this book, you would b surprised why they priced it so low!
COVERED- Pointers (in depth), functions, all forms of data structures, GTK/GTK+, and more-
If you the reader are taking any introductory courses in programming, for goodness and gpa get this book! Especially if you have a[bad]teacher as i once did ;)
Hope this was helpful
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Customer Images

Most Recent Customer Reviews

Search

What Other Items Do Customers Buy After Viewing This Item?