0

My First Program in C++

Where I can improve? https://code.sololearn.com/cb94CmZwHbY3/?ref=app

29th Jun 2017, 3:13 AM
Guilherme GuimarĂŁes
Guilherme GuimarĂŁes - avatar
3 Answers
+ 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.
29th Jun 2017, 4:45 AM
BĂ ng Tứ Cường
BĂ ng Tứ Cường - avatar
+ 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.
29th Jun 2017, 4:46 AM
Mesud Cengiz
Mesud Cengiz - avatar
0
thanks 😀
29th Jun 2017, 5:02 AM
Guilherme GuimarĂŁes
Guilherme GuimarĂŁes - avatar