В качестве воспроизводимого примера ниже приведен файл Main.cpp, из которого я создаю и отлаживаю
Код: Выделить всё
//Standard libraries
#include
#include
//namespaces
using namespace std;
int main() {
//store a list of numbers between 0 and 5 in a shared pointer
shared_ptr numbers(new double[6]
{0,1,2,3,4,5});
//print the numbers
for (int i = 0; i < 6; i++) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79083384/how-can-i-reset-visual-studio-code-to-give-me-useful-debug-information[/url]
Мобильная версия