By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,334 Members | 2,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,334 IT Pros & Developers. It's quick & easy.

prototype means in c++ iam getting confused in it asit is not compiling

P: 1
iam making program of case conversion so iam getting error that function upper case should have a prototype.
char a,b,c;
cout<<"enter the first value";
a=lower case(b)
get ch();
Jun 1 '17 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,197
Your function cannot be "lower case". It has to be one word.

Also, do you mean to change a to upper case and put the result in b? If so, the function is toupper. Ditto for tolower for lower case.

Post again let me know what happened.
Jun 1 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.