Sams Teach Yourself C++ in One Hour a Day ' In just one hour a day, you'll have all the skills you need to begin programming in C++. With this complete tutorial, you'll quickly master the basics and then move on to more advanced features and concepts: * Master the fundamentals of C++ and object-oriented programming * Learn some of the more advanced features of C++ * Learn the Standard Template Library and the containers and algorithms used in most real-world C++ applications * Learn how to build effective programs in C++ with hands-on exercises * Get expert tips on implementing C++ in the corporate environment ' Learn on your own time, at your own pace * No previous programming experience required * Learn C++ and object-oriented design, programming, and analysis * Write fast and powerful C++ programs, compile the source code, and create executable files * Understand the latest ANSI standard * Use the Standard Template Library's algorithms and containers to write feature-rich yet stable C++ applications * Develop sophisticated programming techniques with functions, arrays, variables, and smart pointers * Learn to expand your program's power with inheritance and polymorphism * Master the features of C++ by learning from programming experts * Works with all ANSI C++ compilers Table of ContentsPART I: The Basics LESSON 1: Getting Started LESSON 2: The Anatomy of a C++ Program LESSON 3: Using Variables, Declaring Constants LESSON 4: Managing Arrays and Strings LESSON 5: Working with Expressions, Statements, and Operators LESSON 6: Organizing Code with Functions LESSON 7: Controlling Program Flow LESSON 8: Pointers Explained LESSON 9: Exploiting References PART II: Fundamentals of Object-Oriented Programming and C++ LESSON 10: Classes and Objects LESSON 11: Implementing Inheritance LESSON 12: Polymorphism LESSON 13: Operator Types and Operator Overloading LESSON 14: Casting Operators LESSON 15: An Introduction to Macros and Templates PART III: Learning the Standard Template Library (STL) LESSON 16: An Introduction to the Standard Template Library LESSON 17: The STL string Class LESSON 18: STL Dynamic Array Classes LESSON 19: STL list LESSON 20: STL set and multiset LESSON 21: STL map and multimap PART IV: More STL LESSON 22: Understanding Function Objects LESSON 23: STL Algorithms LESSON 24: Adaptive Containers: stack and queue LESSON 25: Working with Bit Flags Using STL PART V: Advanced C++ Concepts LESSON 26: Understanding Smart Pointers LESSON 27: Working with Streams LESSON 28: Exception Handling LESSON 29: Tapping Further into the Preprocessor Appendixes APPENDIX A: Working with Numbers: Binary and Hexadecimal APPENDIX B: C++ Keywords APPENDIX C: Operator Precedence APPENDIX D: Answers Index About the AuthorSiddhartha Rao is a Microsoft Most Valuable Professional for Visual C++ and a moderator at one of the Internet's most vibrant online development communities, CodeGuru.com. "Sid," as he is popularly known, is an expert in the Windows programming domain, and is experienced in the architecture and development of driver and application software using C++ and other modern programming languages. Currently employed by a German software giant, he specializes in software landscape management and best practices in software development. With the international experience of having lived and worked in three countries behind him, he believes that the travel bug has bit him, and firmly so! Sid speaks many languages that have nothing to do with programming, and when he's not working, you will find him discovering new places on the planet, or shooting--using his Canon, of course! Jesse Liberty is the author of numerous books on software development, including best-selling titles on C++ and .NET. He is the President of Liberty Associates, Inc., where he provides custom programming, consulting, and training. Bradley L. Jones, Microsoft MVP for Visual C++, runs a number of software development sites including Developer.com, CodeGuru.com, DevX, VBForums, Gamelan, and other JupiterWeb-owned sites. PrizesSams Teach Yourself C++ in One Hour a Day is the latest edition of the bestselling Sams Teach Yourself C++ in 21 Days. Updated and reworked to trim down the material into shorter, more focused one-hour lessons, this book is still one of the best hands-on tutorials for the C++ programming language. The book's numerous examples of syntax and detailed analysis of code provide solid instruction for beginning programmers. Readers new to programming will learn about such fundamentals as managing I/O, loops and arrays, object-orient programming, templates, and creating C++ applications -- all in well-structured and easy-to-follow lessons. Each lesson provides numberous code listings, complete with sample output and an analysis of the code, to illustrate the topics covered in the lesson. This new edition is non-compiler specific and is up to date with the latest ANSI/ISO C++ Standard, and includes coverage of namespaces and smart pointers, and explains the Standard Template Library (STL) in detail. |