Sams Teach Yourself C++ in 21 Days By Jesse Liberty
Sams Teach Yourself C++ in 21 Days
by Jesse Liberty
Aimed at programmers with some knowledge of programming, this guide shows readers how to create applications and customise existing programs. It is structured into 21-day lessons, and helps readers structure their learning.
Sams Teach Yourself C++ in 21 Days by Jesse Liberty
Sams Teach Yourself C++ in 21 Days,3rd edition is a hands-on guide to learning object-oriented programming, design and analysis. Readers will gain a thorough understanding of all basic concepts, including memory management, program flow, compiling, and debugging in 21 days. Readers will learn through enhanced examples how to write fast, powerful programs, compile the source code, and create executable files. Sams Teach Yourself C++ in 21 Days,3rd edition has been updated to be compliant with the finalized ANSI/ISO C++ Standard, and includes additional bonus days on namespaces, the Standard Template Library and distributed computing. We've included a glossary of terms and clarified of some of the examples found in the advanced topics chapters, per readers' suggestions.
Why buy from World of Books
Our excellent value books literally don't cost the earth
Jesse Liberty, President of Liberty Associates, Inc. is the author of Sams Teach Yourself C++ Programming in 21 Days,(1st and 2nd editions) and Sams Teach Yourself C++ in 24 Hours. Jesse authors a monthly column in C++ Report, one of the most widely read C++ programmer reference periodicals. Liberty Associates provides on-site training and mentoring, consulting and contract programming. Jesse was a software architect for Xerox, a distinguished software engineer for AT&T and Vice President of Citibank?s Development Division. Jesse Liberty is an established author of books on the topic of C++ and object-oriented design and analysis.
Table of Contents
Introduction. Who Should Read This Book. Conventions. WEEK 1 - AT A GLANCE. Day 1. Getting Started. Introduction. A Brief History of C++. Programs. Solving Problems. How C++ Evolved. Should I Learn C First? C++ and Java. The ANSI Standard. Preparing to Program. Your Development Environment. Compiling the Source Code. Creating an Executable File with the Linker. The Development Cycle. HELLO.cpp--Your First C++ Program. Getting Started with Visual C++ 6. Compile Errors. Summary. Q&A. Workshop. Day 2. The Parts of a C++ Program. A Simple Program. A Brief Look at cout. Comments. Summary. Q&A. Workshop. Day 3. Variables and Constants. What Is a Variable? Defining a Variable. Creating More Than One Variable at a Time. Assigning Values to Your Variables. typedef. When to Use short and When to Use long. Wrapping Around an unsigned Integer. Characters. Constants. Enumerated Constants. Summary. Q&A. Workshop. Day 4. Expressions and Statements. Statements. Whitespace. Blocks and Compound Statements. Expressions. Operators. Combining the Assignment and Mathematical Operators. Increment and Decrement. Precedence. Nesting Parentheses. The Nature of Truth. The if Statement. Using Braces in Nested if Statements. Logical Operators. Short Circuit Evaluation. Relational Precedence. More About Truth and Falsehood. Conditional (Ternary) Operator. Summary. Q&A. Workshop. Day 5. Functions. What Is a Function? Return Values, Parameters, and Arguments. Declaring and Defining Functions. Function Prototypes. Execution of Functions. Local Variables. Global Variables. Global Variables: A Word of Caution. More on Local Variables. Function Statements. More About Function Arguments. Parameters Are Local Variables. More About Return Values. Default Parameters. Overloading Functions. Special Topics About Functions. How Functions Work--A Look Under the Hood. Summary. Q&A. Workshop. Day 6. Basic Classes Creating New Types. Classes and Members. Accessing Class Members. Private Versus Public. Implementing Class Methods. Constructors and Destructors. const Member Functions. Interface Versus Implementation. Where to Put Class Declarations and Method Definitions. Inline Implementation. Classes with Other Classes as Member Data. Structures. Summary. Q&A. Workshop. Day 7. More Program Flow. Looping. while Loops. do...while Loops. do...while. for Loops. Summing Up Loops. switch Statements. Summary. Q&A. Workshop. WEEK 1 - IN REVIEW. WEEK 2 - AT A GLANCE. Day 8. Pointers. What Is a Pointer? Why Would You Use Pointers? The Stack and the Free Store. Memory Leaks. Creating Objects on the Free Store. Deleting Objects. Accessing Data Members. Member Data on the Free Store. The this Pointer. Stray, Wild, or Dangling Pointers. const Pointers. Pointer Arithmetic. Summary. Q&A. Workshop. Day 9. References. What Is a Reference? Using the Address of Operator & on References. What Can Be Referenced? Null Pointers and Null References. Passing Function Arguments by Reference. Understanding Function Headers and Prototypes. Returning Multiple Values. Passing by Reference for Efficiency. When to Use References and When to Use Pointers. Mixing References and Pointers. Dont Return a Reference to an Object That Isnt in Scope! Returning a Reference to an Object on the Heap. Pointer, Pointer, Who Has the Pointer? Summary. Q&A. Workshop. Day 10. Advanced Functions. Overloaded Member Functions. Using Default Values. Choosing Between Default Values and Overloaded Functions. The Default Constructor. Overloading Constructors. Initializing Objects. The Copy Constructor. Operator Overloading. Conversion Operators. Summary. Q&A. Workshop. Day 11.Inheritance. What Is Inheritance? Inheritance and Derivation. Private Versus Protected. Constructors and Destructors. Overriding Functions. Virtual Methods. Summary. Q&A. Workshop. Day 12. Arrays and Linked Lists. What Is an Array? Array Elements. Writing Past the End of an Array. Fence Post Errors. Initializing Arrays. Declaring Arrays. Arrays of Objects. Multidimensional Arrays. Initializing Multidimensional Arrays. A Word About Memory. Arrays of Pointers. Declaring Arrays on the Free Store. A Pointer to an Array Versus an Array of Pointers. Pointers and Array Names. Deleting Arrays on the Free Store. char Arrays. strcpy() and strncpy(). String Classes. Linked Lists and Other Structures. A Linked List Case Study. The Component Parts. What Have You Learned, Dorothy? Array Classes. Summary. Q&A. Workshop. Day 13. Polymorphism. Problems with Single Inheritance. Multiple Inheritance. Virtual Inheritance. Abstract Data Types. The Observer Pattern. Summary. Q&A. Workshop. Day 14. Special Classes and Functions. Static Member Data. Static Member Functions. Pointers to Functions. Pointers to Member Functions. Summary. Q&A. Workshop. WEEK 2 - IN REVIEW. WEEK 3 - AT A GLANCE. Day 15. Advanced Inheritance. Containment. Implementation in Terms of Inheritance/ Containment Versus Delegation. Delegation. Private Inheritance. Friend Classes. Friend Functions. Friend Functions and Operator Overloading. Overloading the Insertion Operator. Summary. Q&A. Workshop. Day 16. Streams. Overview of Streams. Buffering. Streams and Buffers. Standard I/O Objects. Redirection. Input Using cin. Other Member Functions of cin. Output with cout. Related Functions. Manipulators, Flags, and Formatting Instructions. Streams Versus the printf() Function. File Input and Output. ofstream. Binary Versus Text Files. Command-Line Processing. Summary. Q&A. Workshop. Day 17. Namespaces. Getting Started. Functions and Classes Are Resolved by Name. Creating a Namespace. Using a Namespace. The using Keyword. The Namespace Alias. The Unnamed Namespace. The Standard Namespace std. Summary. Q&A. Day 18. Object-Oriented Analysis and Design. Is C++ Object-Oriented? Building Models. Software Design: The Modeling Language. Software Design: The Process. The Vision. Requirements Analysis. Design. Summary. Q&A. Workshop. Day 19. Templates. What Are Templates? Parameterized Types. Template Definition. Template Functions. Templates and Friends. Using Template Items. The Standard Template Library. Containers. Understanding Sequence Containers. Stacks. Understanding Queues. Understanding Associative Containers. Algorithm Classes. Summary. Q&A. Workshop. Day 20. Exceptions and Error Handling. Bugs, Errors, Mistakes, and Code Rot. Exceptions. Using try Blocks and catch Blocks. Data in Exceptions and Naming Exception Objects. Exceptions and Templates. Exceptions Without Errors. Bugs and Debugging. Summary. Q&A. Workshop. Day 21. Whats Next. The Preprocessor and the Compiler. Seeing the Intermediate Form. Using define. Inclusion and Inclusion Guards. Macro Functions. Inline Functions. String Manipulation. Predefined Macros. assert(). Bit Twiddling. Style. Next Steps. Summary. Q&A. WEEK 3 - IN REVIEW. Appendixes. Appendix A. Operator Precedence. Appendix B. C++ Keywords. Appendix C. Binary and Hexadecimal. Other Bases. Around the Bases. Hexadecimal. Appendix D. Answers. Index.
Sams Teach Yourself C++ in 21 Days by Jesse Liberty
Used - Very Good
Pearson Education (US)
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us.