|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/cpp_leaks/
课程评论:没有评论
课程总结:调试 C/C++ 内存问题在 Visual Studio 本课程旨在帮助学员理解和解决 C/C++ 语言中的内存管理问题。C++ 是一种复杂且强大的编程语言,它允许开发者在动态内存管理方面拥有完全的自由,这使其在游戏、通讯、金融、航空航天等多个高性能应用领域仍然备受青睐。然而,动态内存的使用需要谨慎,否则可能会导致悬挂指针、内存损坏、内存泄漏等问题。 本课程将教会您如何利用 Visual Studio 提供的强大功能来克服这些挑战。您将深入学习堆内存管理的基础知识,以及 C/C++ 分配函数和操作符的使用方法。课程还将介绍 Visual Studio 堆库函数,并指导您如何在代码中有效地使用这些函数,以便检测内存泄漏、溢出等问题。 通过本课程的学习,您将对动态内存管理有深入的理解,将能够有效使用 CRT 堆函数来检测和隔离内存问题。此外,您还将学会如何将 Visual Studio 函数应用于任何 C++ 编译器。 注意:本课程需要 Visual Studio 2017 或更高版本。
C++ is a large and complex language, but it gives programmers complete freedom when it comes to management of dynamic memory. This allows the programmers to allocate memory and manipulate it at runtime. That is why C++ is still a favorite language for high performance applications in various domains such as gaming, telecom, finance, aerospace, etc.However, it requires programmers to take great care while using dynamic memory, such as releasing acquired memory, taking care not to overstep memory boundary, etc. Otherwise, it could lead to problems such as dangling pointers, memory corruption, memory leaks, etc. This course will help you overcome all these problem by leveraging the excellent features that Visual Studio provides. It has a rich set of functions provided by the C/C++ runtime heap library. These functions can help detect memory leaks, overflows, etc. You'll learn how to use these functions effectively and make your programs bug-free.In this course, you'll start with the basics of heap memory management and understand C & C++ allocation functions/operators in depth. You'll also learn how to effectively use them to avoid memory problems. Afterwards, you'll learn about the Visual Studio heap library functions and understand how to use them in your code.By the end of this course, you'll have a deep understanding of dynamic memory management. You'll be able to use CRT heap functions effectively to detect & isolate memory problems. You'll also implement the Visual Studio functions so that they can be used with any C++ compiler.Note:This course requires Visual Studio 2017 or a higher version.