Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 22:23:06 +0000



Post From: using word 'short' not allowed as variable?

[2020-09-24 11:34:14]
bradh - Posts: 854
"short" is a specific type of integer and therefore is one of the keywords that you cannot use as a variable. Refer to the information here:
https://en.cppreference.com/w/cpp/keyword

So is "long". Since it is case sensitive, why not capitalize it as "Short"?