Bag om C++ in One Hour a Day, Sams Teach Yourself
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. Completely updated for the C++14 standard, with a preview of C++17, this book presents the language from a practical point of view, helping you learn how to use C++ to create faster, simpler, and more efficient C++ applications. Master the fundamentals of C++ and object-oriented programmingUnderstand how C++ features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operatorsLearn best practices and avoid pitfalls via useful Do's and Don'ts Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applicationsTest your knowledge and expertise with exercises at the end of every lesson Learn on your own time, at your own pace: No previous programming experience requiredWrite fast and powerful C++ programs, compile the source code, and create executable filesLearn object-oriented programming concepts such as encapsulation, abstraction, inheritance, and polymorphismUse the Standard Template Library's algorithms and containers to write feature-rich yet stable C++ applicationsLearn how automatic type deduction helps simplify C++ codeDevelop sophisticated programming techniques using lambda expressions, smart pointers, and move constructorsMaster the features of C++ by learning from programming expertsLearn C++ features that allow you to program compact and high-performance C++ applicationsPreview what's new in C++17 Contents at a Glance
Part I: The BasicsLesson 1: Getting StartedLesson 2: The Anatomy of a C++ ProgramLesson 3: Using Variables, Declaring ConstantsLesson 4: Managing Arrays and StringsLesson 5: Working with Expressions, Statements, and OperatorsLesson 6: Controlling Program FlowLesson 7: Organizing Code with FunctionsLesson 8: Pointers and References Explained
Part II: Fundamentals of Object-Oriented C++ ProgrammingLesson 9: Classes and ObjectsLesson 10: Implementing InheritanceLesson 11: PolymorphismLesson 12: Operator Types and Operator OverloadingLesson 13: Casting OperatorsLesson 14: An Introduction to Macros and Templates
Part III: Learning the Standard Template Library (STL)Lesson 15: An Introduction to the Standard Template LibraryLesson 16: The STL String ClassLesson 17: STL Dynamic Array ClassesLesson 18: STL list and forward_listLesson 19: STL Set Classes Lesson 20: STL Map Classes
Part IV: More STLLesson 21: Understanding Function ObjectsLesson 22: Lambda Expressions Lesson 23: STL AlgorithmsLesson 24: Adaptive Containers: Stack and QueueLesson 25: Working with Bit Flags Using STL
Part V: Advanced C++ ConceptsLesson 26: Understanding Smart PointersLesson 27: Using Streams for Input and Output Lesson 28: Exception HandlingLesson 29: Going Forward
Part VI: AppendixesAppendix A: Working with Numbers: Binary and HexadecimalAppendix B: C++ KeywordsAppendix C: Operator PrecedenceAppendix D: ASCII CodesAppendix E: Answers
Vis mere