C-Plus-Plus
C-Plus-Plus copied to clipboard
Rework on Stack Array Data Structure
What I have done in this PR:
- Reorganize code in
data_structurenamespace andStackclass - The destructor is added to the
Stackclass to ensure memory deallocation - Comments are added to the member functions to describe their purpose
- The self-test function is provided, which demonstrates the usage of the
Stackclass and its methods.
Description of Change
Checklist
- [x] Added description of change
- [x] Added file name matches File name guidelines
- [x] Added tests and example, test must pass
- [x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
- [x] Relevant documentation/comments is changed or added
- [x] PR title follows semantic commit guidelines
- [x] Search previous suggestions before making a new one, as yours may be a duplicate.
- [x] I acknowledge that all my contributions will be made under the project's license.
Notes:
Please take a look on this PR @realstealthninja, @Panquesito7
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Could you have a look on this PR @realstealthninja
Can you add don't-close label for this PR, @mrmagic2020?
Can you add don't-close label for this PR, @mrmagic2020?
Sorry, I don't have write access to this repo... you still need to wait for the maintainers
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thanks, @realstealthninja. Can you have a look?
Thanks for the quick fixes.
@TruongNhanNguyen could you delete the stack.hpp file from that directory as well? thanks.
On second thought revert that, we can do that in another pr. Sorry for the confusion. The stack.hpp problem seems out of the scope of this pr
Thanks for kindly reviews, and quick responses. This PR existed for a long time, so I am delighted to see it merged.
Merging this! thanks for your contribution :heart: