+ 8

Why are C++ classes terminated?

What was the person who developed C++ programming language high on to choose to have classes terminated with the semicolon? I find that disturbing and irrational.

3rd Apr 2017, 7:13 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
1 Resposta
+ 6
@JPM7, I still don't get why they didn't just maintain the struct instead of using the class keyword. Having done C, then Java, I didn't get along well with this new terminated class syntax.
3rd Apr 2017, 8:36 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar