C++ Primer PlusSams Publishing, 2002 - 1098 ページ C Primer Plus is a conversational-style book aimed at those new to C programming. A friendly and easy-to-use self-study guide, this book will be appropriate for serious students of programming, as well as developers proficient in other languages with a desire to better understand the fundamentals of this core language. As with all the editions, author Stephen Prata's aim has been to create an introduction to C that is instructive, clear, and helpful. Programming concepts are explained along with details of the C language; the book does not assume that you are a professional programmer. Many short, easily typed examples illustrate just one or two concepts at a time, since learning by doing is one of the most effective ways to master new information. Finally, review questions and programming exercises at the end of each chapter punctuate the most critical information and help readers digest the most difficult concepts. The text has been updated to accommodate the emergence of a new standard for C-C99. |
目次
Getting Started | 1 |
Setting Out to C++ | 19 |
Functions | 39 |
Dealing with Data | 53 |
Unsigned Types | 61 |
The New bool Type | 74 |
C++ Arithmetic Operators | 82 |
Summary | 92 |
Public Inheritance Considerations | 623 |
Programming Exercises | 629 |
Reusing Code in C++ | 633 |
Multiple Inheritance | 654 |
Class Templates | 673 |
Summary | 704 |
Friends Exceptions and More | 713 |
The string Class and the Standard Template Library | 779 |
Compound Types | 95 |
Loops and Relational Expressions | 155 |
Branching Statements and Logical Operators | 207 |
Functions C++s Programming Modules | 243 |
Pointers to Functions | 289 |
Programming Exercises | 295 |
Adventures in Functions | 299 |
Memory Models and Namespaces | 347 |
Objects and Classes | 393 |
Destructors | 414 |
Constructors and Destructors in Review | 422 |
An Array of Objects | 429 |
Summary | 440 |
Working with Classes | 445 |
Classes and Dynamic Memory Allocation | 503 |
Class Inheritance | 567 |
Input Output and Files | 863 |
Other istream Class Methods | 903 |
Other istream Methods | 910 |
Random Access | 933 |
APPENDIX A Number Bases | 951 |
APPENDIX B C++ Keywords | 955 |
The ASCII Character Set | 957 |
Operator Precedence | 963 |
APPENDIX E Other Operators | 967 |
APPENDIX F The string Template Class | 979 |
APPENDIX G The STL Methods and Functions | 997 |
APPENDIX H Selected Readings | 1029 |
Converting to ANSIISO Standard C++ | 1033 |
APPENDIX J Answers to Review Questions | 1041 |
1065 | |
他の版 - すべて表示
多く使われている語句
allocated argument array ArrayDb ArSize assignment operator auto_ptr automatically base class baseDMA bool BrassPlus bytes C++ program Chapter cin.get class declaration class member class methods class object Compatibility Note compiler const char const int container convert copy constructor cout cout<<"Enter create data members default constructor define delete derived class destructor display dynamic memory allocation element end-of-file endl Enter example expression function call header file implementation include iostream inheritance initialize inline function input int main integer interface invoke ios_base iterator keyword Listing loop member function memory namespace std newline Node notation null character operator overloading output overloaded pointer queue reference return value sample run stack Standard Template Library statement static Stonewt stored strcpy string object StringBad structure symbolic constants template class tion type cast type double type int variable vector virtual functions void