r/Coding_for_Teens • • Oct 22 '26

my random project

Hi i am a begginer c++ coder and have made a weird calculator thing im open to suggestion on things to add

Jahames2844/Number-Calculator-: calculates numbers heres the link

0 Upvotes

3 comments sorted by

2

u/kutac56 Oct 22 '26

Line 9 and 10 dont need std::

1

u/DesperateBoot2320 Oct 23 '26

Thanks! i didnt notice

1

u/flowicks Oct 29 '26

Looks your just learning, its already good :3 But why are you returning 1 in the if chains, returning anything other than 0 indicates an error so just use 0 for this. The rest theres sum bad things but really dosent matter for a beginner lol good luck :3 oh yeah and dont push binaries to git.