Am I missing anything here in my statement about c++?
You can't have code outside of functions except for declarations, definitions and preprocessor directives. Is that statement accurate, or is there something I'm missing? I'm teaching my nephew to program, and he was trying to put a while loop before main. He's pretty young, I want to give him a hard simple rule that he can understand....