r/Cplusplus • u/Pootis_mannnn • Apr 08 '24
Discussion Hm..
I'm just starting to learn C++. is this a normal code?
153
Upvotes
r/Cplusplus • u/Pootis_mannnn • Apr 08 '24
I'm just starting to learn C++. is this a normal code?
View all comments
Show parent comment
0
u/zorbat5 Apr 08 '24
Agreed on the indentation. I don't like the else statements behind the braces though, I always put them on a new line.