Capital Problem

Well there I am in my Visual Programming lab doing my semester practicals. I write a simple program. One function call another function

myframe()
{
create(0,"hello");
}

And i get the error:
"create" variable not initialized.

I have no idea what this means. Basic programming skills tells you "create" is a function and not a variable here.

I spend an hour - a full 60 minutes - to find out what's wrong. Then I find the mistake.
Apparently in VC++, create() and CREATE() are the same. But Create() is not. An hour wasted because of a single letter. Darn.

No comments: