- Series: Sams Teach Yourself
- Paperback: 736 pages
- Publisher: Sams; 4th edition (August 1997)
- Language: English
- ISBN-10: 0672310694
- ISBN-13: 978-0672310690
- Product Dimensions: 1.8 x 7.5 x 9.2 inches
- Shipping Weight: 2.2 pounds (View shipping rates and policies)
- Average Customer Review: 49 customer reviews
- Amazon Best Sellers Rank: #4,282,049 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Teach Yourself C in 21 Days (Sams Teach Yourself) 4th Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
What other items do customers buy after viewing this item?
Customers who bought this item also bought
From the Publisher
With its ever-expanding installed base, C continues to be one of the most popular programming languages on the market. This fact, along with the Teach Yourself series' reputation as the most popular way to learn programming languages, guarantee that Teach Yourself C in 21 Days, Fourth Edition is clearly headed for the bestseller lists. - Covers ANSI C-a standard for all compilers, including Visual C++, Borland C++, Turbo C++ for Windows, UNIX C, Mac C and more
- Includes a bonus week covering advanced topics such as coding styles and portability issues
- Teaches the basics of C, including variables, constants, conditional statements, loops, pointers, data structures, input/output and functions
Read reviews that mention
Showing 1-8 of 49 reviews
There was a problem filtering reviews right now. Please try again later.
using namespace std;
Rather than doing that most thing that are written in the book are as follows, their version first, then having used "using namespace std;" under that.
int i; //Just so the code looks correct
std::cout << "My name is Logan how old are you? ";
//cout << "My name is Logan how old are you? ";
std::cin >> i;
//cin >> i;
As you can imagine the whole std:: thing gets repetitive and obnixious really quick. Albiet programing is repetitive but come on. They even tell you at some point that using namespace std; is acceptable they just choose not to. That is my only dislike about the book. In the real world you want to type as little as you can to get the job done std:: seems like such a waste and it makes the coded pages seem garbled. (Admidetly the entire book isn't written this way as they change their format throughout. Sometimes they put at the begenning something like "using std::cout; or using std::endl;" so that they can then use "cout/endl" alone, I like a book that sticks to one way all the way through, I'm tring to learn one way, not a bunch of ways to do the same thing.)
Other than that the book is an excellent tool and reference the std:: thing is just a peve of mine.
It assumes no previous knowledge -- just a willingness to learn. It begins with "Hello, World", the classic example first introduced in the K&R C book, and then continues for the next few "days" to cover the funamental C aspects such as basic I/O, variables, functions, branching, data types, and operators.
After that preliminary information is covered, the authors begin showing basic class useage -- the general form of a class, constructors, destructors, data members, and member functions.
In the final "day" of the "week", control statements (for, do...while, switch, etc.) are given a good, and thorough treatment.
The next "week" moves on to more advanced concepts such as pointers, reference variables, function overloading, inheritance, and polymorphism. By the end of this week, you will be pretty proficient, and probably ready to implement more substantial projects, however, the book still covers more.
In the last week, other, more advanced, concepts are introduced such as friend functions, file manipulation, low level bit manipulation, and a lot more to help you become a master of this beast of a language.
This book also goes through each and every example program and provides a thorough analysis -- so you're never left in the dark as to what a program is doing or how.
This work does have some shortcomings, but they're not that significant. Yes, some of the example programs are extremely boring and you're left thinking whether you should bother entering and compiling them. Sometimes explanations are offered for the most trivial of concepts in programs, but overall, it's a great book at a great price.
In short, if you want to learn C++ and you want to learn it thoroughly, then this is your book!
From a programming standpoint, it's also very good. Lays out the concepts of C++ so that a beginner can pick up pretty quickly, but has worked well as a reference.
Who am I kidding... I didn't have the concentration to actually work through it well. But I am a programmer and did do a cursory glance, and its examples are pretty solid, and so is its layout. I lend it out to friends frequently, at which point I trade it out for a Java book to keep my monitor at a comfortable height.
Anyway, overall this is a nice book on C tutorial. Note for noive/beginner don't hope to finish it within 21 Days, remember that learning any language, not just programming language, take times.