I would highly recommend running the program to see how it works.
Type: Posts; User: Inkinsarto
I would highly recommend running the program to see how it works.
Here is the full code that I want to use tolower() on:
#include <iostream>
#include <algorithm> //All of the files needed to run the program
#include <cctype>
#include <iostream>
#include...
Would it still check the choices? I can add a code that express the issue. (It asks the user to enter a choice, then checks other choices.)
Interesting.
good. But if I do, and the sting is in all lowercase, will it take the newly lowercase string and check to see if it equals anything?
string x;
cout<<"Please enter an attribute. Then press...
Is there a way I can use transform()?
Here is a very small part of the program that ends wher I wish to fix the tolower() problem.
string x;
cout<<"Please enter an attribute. Then press ENTER.\n";
cout<<"The...
Wow. that's cool. okay. I will.
Well you see, well um, yeah that sounds right. But it will take time. My email is [email protected] if you have anything else while I am offline. As of right now, I will try to post the code as...
Okay. But, It might take me awhile. I have the code at another location, and I am at school.(yes, I'm not professional)I will post the full code without the tolower so you can compile and run the...
Actually, I did add the tolower to the program, and when it ran, the input was displayed in all lowercase. That problem was fixed, but the program wouldn't check to see if the variable matched up...
sorry, that needs to be: if(string == "answer1")
else if(string == "answer2")
else if(string == "answer3")
I need to make a program that can accept a string input(I've already done this) and make all the letters lowercase. After this, the program needs to match up the string variable with other choices. I...