gamehead200 Posted October 14, 2004 Posted October 14, 2004 Is there a way to convert an upper case string and/or a string with upper and lower case letters to a string with just lower case letters?
CoffeeFiend Posted October 14, 2004 Posted October 14, 2004 (edited) . Edited November 7, 2006 by crahak
CoffeeFiend Posted October 14, 2004 Posted October 14, 2004 (edited) . Edited November 7, 2006 by crahak
gamehead200 Posted October 14, 2004 Author Posted October 14, 2004 yes, called like such: do_lowcase(text);the idea is to use tolower anyways.I tried using tolower out of a function (within the program), but it wasn't working for some weird reason...I'll try this and let you know!
gamehead200 Posted October 14, 2004 Author Posted October 14, 2004 20 C:\DOCUME~1\Michael\Desktop\C__PRO~1\CHARAC~1\main.cpp cannot convert `std::string' to `char*' for argument `1' to `void do_lowcase(char*)' Awww, crap... Did I mention it had to be a string? Calling the string doesn't work with do_lowcase(sent); ...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now