Log in

No account? Create an account

C++ Variables and Movies

I lectured on variable names in my C++ class today. To wrap up, I gave a list of   variable names which were valid and a list that weren't. One of the valid variable names was r2d2. One of the invalid variable names I gave was 2LDK.  (It's invalid because it starts with a character other than a letter or underscore). muffdaddysmooth  would have enjoyed it. (At least the 30 seconds I spent talking about 2LDK :))