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

Зміст курсу

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

Shared Pointers Practice

Завдання

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.

Завдання

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.

Все було зрозуміло?

Секція 3. Розділ 6
toggle bottom row

Shared Pointers Practice

Завдання

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.

Завдання

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.

Все було зрозуміло?

Секція 3. Розділ 6
toggle bottom row

Shared Pointers Practice

Завдання

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.

Завдання

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.

Все було зрозуміло?

Завдання

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.

Секція 3. Розділ 6
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt