Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Shared Pointers Practice | Shared Pointers
C++ Smart Pointers
course content

Course Content

C++ Smart Pointers

C++ Smart Pointers

1. Introduction to Smart Pointers
2. Unique Pointers
3. Shared Pointers
4. Weak Pointers
5. References
6. Advanced topics

bookShared Pointers Practice

Task
test

Swipe to show code editor

You are given a basic program that simulates file operations. Right now, the program uses raw pointers to manage file resources. Your task is to modify this code to use shared pointers for file management.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 6
toggle bottom row

bookShared Pointers Practice

Task
test

Swipe to show code editor

You are given a basic program that simulates file operations. Right now, the program uses raw pointers to manage file resources. Your task is to modify this code to use shared pointers for file management.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 6
toggle bottom row

bookShared Pointers Practice

Task
test

Swipe to show code editor

You are given a basic program that simulates file operations. Right now, the program uses raw pointers to manage file resources. Your task is to modify this code to use shared pointers for file management.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

You are given a basic program that simulates file operations. Right now, the program uses raw pointers to manage file resources. Your task is to modify this code to use shared pointers for file management.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 6
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt