Help please!!!

here is my source code:


#include<iostream>
#include<string>
using namespace std;
int main ()
{
int i;
char str[80];
char names[10][50]={"kean isaac","1111111",
"james david", "2222222",
"jusell sanluiss", "4444444"};
cout<<"Enter name: ";



cin.getline(str,80);
{
if (strcmp(str, names[0])==0)
{
cout<<names[1];
}
else if (strcmp (str, names[2])==0)
{
cout<<names[3];
}
else if (strcmp (str, names [4])==0)
{
cout<<names[5];
} }
system ("pause>p");
return 0;
}




This program is working but, Please help me to use "to lower" in this program. Thank you very much!!!!!!!!!!
lowerVersionOfChar = tolower(exisitingChar);
Topic archived. No new replies allowed.