Data Structures in C++ - Stack - Day 1 - Writing an Array Stack

preview_player
Показать описание
In this video, we learn what a Stack data structure is, and how to implement it in an array structure. We then write a brief tester program to ensure it works well.
Рекомендации по теме
Комментарии
Автор

@22.08, you should have deleted the old array before pointing to the new array, it will leave memory leak.

delete data;
data = newdata;

johnwee
join shbcf.ru