Om C++ in One Hour a Day, Sams Teach Yourself
Learn C++ programming at your own paceCovers modern C++ 20Starting with one hour a day, you can gain all the skills you need to begin programming in C++. This complete tutorial will help you quickly master the basics of object-oriented programming and teach you advanced C++ language features and concepts. Fully updated for the C++20 standard, this practical book is designed to help you write C++ code that's faster, simpler, and more reliable and master the fundamentals of C++ and object-oriented programming.No programming experience required: start writing well-organized, efficient C++ programs quickly!Apply proven Do's and Don'ts to leverage best practices and avoid pitfalls from day oneTest your knowledge and expertise with focused exercises after every lessonSimplify your code using automatic type deduction and other featuresAccelerate learning using nearly 300 code samples explained withinPreview improvements expected in C++23LessonsPart I - The Basics: Using Variables, Declaring Constants; Arrays and Strings; Expressions, Statements, and Operators; Controlling Program Flow; Functions; Pointers and ReferencesPart II - Fundamentals of Object-Oriented C++ Programming: Classes and Objects; Implementing Inheritance; Polymorphism; Operator Types and Operator Overloading; Casting Operators; Macros and TemplatesPART III - Learning the Standard Template Library (STL): The STL String Class; STL Dynamic Array Classes; STL list and forward_list; STL set and multiset; STL map and multimapPART IV: Lambda Expressions and STL Algorithms: Function Objects; Lambda Expressions; STL Algorithms; Adaptive Containers: Stack and Queue; Bit FlagsPART V: Advanced C++ Concepts: Smart Pointers; Streams; Exception Handling; C++20 Concepts, Ranges, Views, and Adaptors; C++20 Threads; C++20 and C++23 ModulesAppendixes: Working with Numbers; C++ Keywords; Writing Great C++ Code; ASCII Codes
Visa mer