Debugging C/C++ Memory Issues in Visual Studio
Gỡ lỗi các vấn đề bộ nhớ C/C++ trong Visual Studio
Bạn sẽ học được gì
Yêu cầu
Đối tượng phù hợp
Nội dung khóa học
Giới thiệu khóa học
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.
Khóa học liên quan
Khám phá thêm các khoá học cùng chủ đề
CMake, Kiểm thử và Công cụ cho Dự án C/C++ [Phiên bản 2024]
Jan Schaffranek
Thành thạo CMake để xây dựng dự án C++ đa nền tảng
Milan Yadav
Kỹ Thuật Và Thủ Thuật Gỡ Lỗi Trong Eclipse
Learning From Experience
Hướng dẫn Toàn diện về Gỡ lỗi Python với Visual Studio Code
Learning From Experience
Lập trình viên C#: Tăng gấp đôi tốc độ viết code với Visual Studio
Mosh Hamedani
GIT và Visual Studio với Azure DevOps Repos cho Nhà phát triển
Patrick Videos
C# Cơ Bản Cho Người Mới Bắt Đầu: Giới Thiệu Lập Trình Với C#
Victor Gorinov
Lập trình C# nhanh với Windows Forms để tạo ứng dụng Windows chuyên nghiệp
Mega Learning
GitHub Copilot (Trợ lý Lập trình AI) - Hướng dẫn Toàn diện [2024]
Bhrugen Patel - (DotNetMastery | Microsoft MVP | 300k+ Students)
Thành thạo Visual Studio với C# - Tăng gấp đôi năng suất
Tod Vachev