Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 05:19:59 +0000



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

[2020-09-24 11:34:14]
ForgivingComputers.com - Posts: 1001
"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"?