0
My First Program in C++
Where I can improve? https://code.sololearn.com/cb94CmZwHbY3/?ref=app
3 odpowiedzi
+ 4
Does not look like the traditional stack, where pop returns the top element and remove it from the stack :). Other than that, the code looks fine.
+ 2
You can start by using comments in your codes. It makes it easier for others to read your code, and possibly help you faster when you need them. Not just that, when you are working with huge codes, it will help you when you want to edit your code.
0
thanks 😀