- Save 10% on Books for Schools offered by Amazon.co.uk when you purchase 10 or more of the same book. Here's how (terms and conditions apply) Enter code SCHOOLS2016 at checkout. Here's how (terms and conditions apply)
Sams Teach Yourself C++ in 24 Hours (Sams Teach Yourself...in 24 Hours (Paperback)) Paperback – 14 Apr 2011
|New from||Used from|
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Special Offers and Product Promotions
Frequently Bought Together
Customers Who Bought This Item Also Bought
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.
It's refreshing to find the occasional book on C++ which doesn't focus entirely on Microsoft's Visual C and instead looks at the wider picture.
Presented here for the reader's delectation are 24 "hour-long" lessons which concentrate on the features of C++ in general without getting bogged down in the intricacies of the MFC and other MS specific coding conventions which aren't always appropriate for the C programmer. So, what we have here is a helpful beginners book to what can be a complex subject which achieves it's goals with some style.
From the compulsory explanation of basic syntax and data types through to object-orientation, polymorphism and more this is a measured treatment of the subject at hand which is written in an engaging way making it a pleasure, rather than a chore, to read. The time estimate of one hour per lesson seems a little on the conservative side and especially latter chapters could benefit from rather more than 60 minutes of study, but this is a minor criticism at the end of the day.
In addition to the core elements, author Jesse Liberty shows how to get the examples up and running with DJGPP compiler (provided on CD-ROM with a bucketful of other useful utilities) or with Microsoft's Visual C++ package (they couldn't leave it out altogether!) Beginners could do a lot worse than look towards Teach Yourself C++ in 24 Hours, it's clean, clear and simple to understand. --This text refers to an alternate Paperback edition.
From the Back Cover
In just 24 lessons of one hour or less, you can learn the basics of programming with C++ ― one of the most popular and powerful programming languages ever created.
¿Using a straightforward, step-by-step approach, this fast and friendly tutorial teaches you everything you need to know, from installing and using a compiler, to debugging the programs you’ve created, to what’s coming in C++0x, the next version of C++.
¿Each lesson builds on what you’ve already learned, giving you a solid understanding of the basics of C++ programming concepts and techniques.
- Step-by-step instructions carefully walk you through the most common C++ programming tasks
- Quizzes and exercises at the end of each chapter help you test yourself to make sure you’re ready to go on
- Starter kit software provides everything you need to create and compile C++ programs on any platform ― Windows, Mac or Linux
What Other Items Do Customers Buy After Viewing This Item?
Top Customer Reviews
The book goes step-by-step through the language, starting off at a very beginner level and getting gradually higher in complexity.
Everything from basic variables to advanced templates and inheritance is covered, and with good examples and explanations.
Beginners should be able to pick this book up, with practically no knowledge of C++, and be able to understand and learn the language. At the same time, the book provides a very efficient refresher for those who are slightly more experienced with C++.
I completely recommend this book as a starting point for anybody wishing to learn the C++ language and basic programming techniques.
Although this Sam's book is awful for the beginner, it does have some decent aspects that cannot be left unmentioned.
For one, the many examples in the book are terrific - though a bit complex to first look at. They are repetitive through each hour chapter, though if you take the time to type them out and run your complier's debug then the concept on which the author is trying to explain does eventually sink in.
Secondly, the book comes with its own disc which has its own compiler on to use, along with all the examples and other utils, including WinZip. The complier is a must to have if you do not already own a program like Visual C++. In all honesty, you shouldn't require Visual C++ as a beginner.
Thirdly, the examples in the book are well laid out. Also, in the front of the book there is an index and pull out card with "Operator Precedence & Associativity" information. This comes in handy when trying to write your own programs.
This book would be so much better if the author took an extra bit of time in trying to explain the concepts on a more basic level. Instead, the use of examples does compensate the dire explanations to a degree, but they are not perfect.
Around hour chapters 13-14, the description of how C++ concepts work becomes vague. It is as if the author expects the reader to know the stuff already, or have a good knowledge of C.Read more ›
Although each program is analysed in the main text it would be far clear to include comments in the code as to the purpose. In addition a reasonable number of examples start using syntax and notation that is not explained until several chapters later. Combine this with the shoddy typesetting of the examples - anyone whose has coding experience will dispair at absymal indentation that makes the programs exceptionally hard to read.
Maybe if you've never done any programming in any language then this might be an bearable introduction. If you've programmed before steer well clear and find a book that doesn't treat you like an idiot.
If you accept that this is a book that follows the old standard, it is still an awful book. User-defined functions are included in a program before main(), so that a function prototype can be avoided. Yet right at the beginning of the book the author suggests that you may need to include a function prototype for main, for certain compilers. I must admit that I have never heard of this. If this were the case, you should obviously avoid those compilers.
The book comes with a CD that includes the open source C++ compiler DJGPP. I tried this compiler once, but my downloaded version was very difficult to install. I now use Quincy 2005. This can be downloaded from the internet, and is extremely easy to install and use.
Besides the poor and outdated style of programming, the text that describes the programs is verbose, and contains much that is useless. A useless gem that I notice appears in hour 15 - Arrays. There is a section headed "Fence post errors" to illustrate that it is very easy to try and access past the end of array. Apparently this type of problem is commonly called a "ring fence error". Maybe it is in the USA, but it is probably unheard of in this country. This weirdly used and unclear language only helps to confuse the user.
Another such example appears much earlier in the book - "Wrapping around a signed integer" appears on page 36-37. This made me think of wrapper functions that you have in Java.Read more ›
Most Recent Customer Reviews
I would recommend this book to anyone who has an interest in beginning to learn C++. The author assumes no prior knowledge of the C++ language and clearly explains everythingPublished on 6 July 2013 by Sam
As it says on the spine, the book is for absolute beginners. I like the book, it has a good teaching method and it is easy to read for the most part. Read morePublished on 15 Feb. 2005
While this book explains the principles of programming in C++, and you will quickly grasp the concepts of pointers, references etc (though the chapter on linked lists could be... Read morePublished on 11 Mar. 2004
This is the 1st c++ book i have ever read. To be honest the book is a fairly good start. As i am doing a computer science A level and soon a degree i have a fair understanding of... Read morePublished on 11 Jun. 2001
This book has all the information you need to learn how to program in C++. But i would question whether the order in which the information is presented is correct!! Read morePublished on 23 May 2001
I bought this book since I wanted a generic introduction to C++ I had no particular reason for picking this book over any other. Read morePublished on 24 May 2000
It is absolutely true that the first 100 pages of this book, up to and icluding chapter 5, are excellently and concisely written, almost too concisely written if you are not... Read morePublished on 30 Aug. 1999