Here is a very small part of the program that ends wher I wish to fix the tolower() problem.
Code:
string x;
cout<<"Please enter an attribute. Then press ENTER.\n";
cout<<"The choices are: \n";
cout<<"1. Steel\n";
cout<<"2. Dragon\n";
cout<<"3. Fighting\n";
cout<<"4. Lightning\n";
cout<<"5. Earth\n";
cout<<"\n";
cout<<endl;
cout<<endl;
cout<<endl;
cout<<"type: ";
getline(std::cin, x);
tolower(x);
if(x == "steel"){
//run program
}
if(etc.)
Here it is. Remember, I wish to make the full string lowercase and check to see if the newly changed variable equals any choices.
Thanks.