Recently, I am reviewing the book
C++ Primer 4th Ed., written by John Fuller, Stanley B. Lippman, Debbie Lafferty, Josée Lajoie and Barbara E. Moo. The first time I spent two months in reading this book, it elaborately talked the syntax of C++. It is this book that lead me in the great world of C++ and also to the programming world. Now, the second time I occasionally look through the chapters and I decided to list out my implementation of the exercise throughout the book. Lots of implementations,questions and codes are edited or simply copied in the content of the book. In fact, this article don't mean to copied the book pirately to offend the copyright, so anyone would like to cited on this article need to add the address of this article informing the copyright presence.
All the contents came from the book which is copyrighted, here is the address of the book informing the source:
http://www.pearsonhighered.com/educator/product/C-Primer/9780201721485.pageNote: Not all the exercises are included, only problematic problems are included, if you think that a absent exercise need to be included, feel free to write a comment in this article, my email would receive every comment and I might answer some questions asked.
PS: I would try my best to update as soon as possible, but there may be delayed due to some of personal arrangements.
Links:
Chapter 1 Getting Started
http://www.cppblog.com/alister/archive/2010/12/03/CPP_Primer_4th_Exercises_Ch1.htmlChapter 2 Variables and Basic Types
http://www.cppblog.com/alister/archive/2010/12/04/CPP_Primer_4th_Exercises_Ch2.htmlChapter 3 Library Types (Starting)
http://www.cppblog.com/alister/archive/2010/12/06/CPP_Primer_4th_Exercises_Ch3.htmlChapter 4 Array and Pointers (Haven't started yet)
Chapter 5 Expressions (Haven't started yet)
Chapter 6 Statements (Haven't started yet)
Chapter 7 Functions (Haven't started yet)
Chapter 8 The IO Library (Haven't started yet)
Chapter 9 Sequential Containers (Haven't started yet)
Chapter 10 Associative Containers (Haven't started yet)
Chapter 11 Generic Algorithms (Haven't started yet)
Chapter 12 Classes (Haven't started yet)
Chapter 13 Copy Control (Haven't started yet)
Chapter 14 Overloaded Operations and Conversions (Haven't started yet)
Chapter 15 Object-Oriented Programming (Haven't started yet)
Chapter 16 Templates and Generic Programming (Haven't started yet)
Chapter 17 Tools for Large Programs (Haven't started yet)
Chapter 18 Specialized Tools and Techniques (Haven't started yet)