Learn By Example: C++ Programming - 75 Solved Problems

所在平台: Udemy

课程主页: https://www.udemy.com/course/cplusplus-75-solved-problems/

课程评论:没有评论

第一个写评论        关注课程

课程简介

Coursera 课程《Learn By Example: C++ Programming - 75 Solved Problems》旨在通过 75 个自包含的、附带源代码的示例,帮助学习者理解 C++ 的核心概念和实际应用。课程将 C++ 比作一个“粗鲁却乐于助人”的长辈,强调其复杂性往往源于其辅助程序员的特性,而这些特性可能不被初学者理解。 课程内容涵盖以下关键领域: * **从 C 迁移到 C++**:为 C 语言程序员提供顺利转向 C++ 所需的知识。 * **对象、类与面向对象编程**:深入讲解访问修饰符、类、对象、this 指针、new/delete 以及动态内存分配的注意事项。 * **运算符重载**:详细阐述 C++ 中独特的运算符重载机制,以及 const、static 和 friend 关键字的深入用法。 * **继承**:与 Java 相比,更深入地探讨 C++ 继承的复杂性,特别是多重继承以及虚函数与非虚函数并存的情况。 * **模板**:教授经典的泛型编程技术,包括模板函数、模板类以及模板特化的使用。 * **标准模板库 (STL)**:重点介绍 STL 的核心组件,包括容器、迭代器和算法。 * **C++ 类型转换**:讲解 C++ 特有的类型转换方式,如 const_cast、static_cast 和 dynamic_cast,以及 RTTI(运行时类型识别)和 static_cast 的显式转换。 * **异常与异常处理**:介绍 C++ 中的异常处理机制。 每节课的示例都力求简洁而富有实质性,旨在清晰地传达 C++ 特定用例的实现方式,帮助学习者克服对 C++ 的畏惧感,真正掌握这门强大的编程语言。

课程评论(0条)

课程详情

Like a gruff uncle, C++ seems intimidating, when its just being helpful. These 75 examples will help you understand that. Let's parse that. C++ seems intimidating because all too often, what you see is not what you get. Usually, that's because C++ is trying to help you, but you don't realise that. C++ is incredibly deep, and it sometimes struggles to get you - the programmer - to understand what it's saying These 75 examples will help. Each is self-contained, has its source code attached, and gets across a specific C++ use-case. Each example is simple, but not simplistic. What's Included: Moving to C++ from C: If you are a C programmer, this section will run through what you need to know in order to move seamlessly to C++. Objects, Classes and Object-Oriented Programming: Access modifiers, classes, objects, the this pointer, new/delete and dynamic memory allocation gotchas Operator overloading is a particularly complicated topic - C++ is virtually alone in the ubiquity of overloaded operators. Make sure this doesn't trip you up. Also go deep into the workings of const, static and friend Inheritance in C++ is considerably more complicated than in Java, mostly because of multiple inheritance, and because of the co-existence of both virtual and non-virtual methods. Templates are a classic generic programming technique that were revolutionary when first added to C++. Understand template functions and classes, as well as template specializations. STL - the Standard Template Library - is incredibly powerful. Get a good sense of collections, iterators and algorithms - the major components of the STL C++ casts are quite different than C-casts. Understand const_cast, static_cast and dynamic_cast, as well as Real Time Type Identification (RTTI), and the manner in which explicit conversions can be performed using static_cast Exceptions and exception handling in C++

课程标签

0人关注该课程

主题相关的课程