in reply to called too early to check prototype

Short answer: Don't use prototypes at least until you understand why you shouldn't use them. This article by Tom Christiansen explains why they are usually more trouble than they are worth.

Shorter answer: Don't call functions with prototypes prior to declaring them.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: called too early to check prototype