#I am trying to learn cpp but the syntax i use and the syntax used in tutorials is different.
1 messages · Page 1 of 1 (latest)
👀 Tried cpplearn?
As for syntax rules they are same. The way you implement the solution can vary from the tutorials one.
So understanding code your writing is more important
i suggest looking at a c++ formatting guide to learn the best practices when it comes to typing standards etc
other than that if the code achieves the same thing don't worry too much about how its typed. Eventually you will understand best practices, safety etc automatically as you get practice in
like ash said, its best to understand the code than to see how its formatted
will do :D
Oh ok, I will look for formatting guides