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?
Page 1 of 1
[C++] Upper case string to lower case string
#2
Posted 13 October 2004 - 07:03 PM
.
This post has been edited by crahak: 07 November 2006 - 07:05 AM
#4
Posted 13 October 2004 - 07:06 PM
.
This post has been edited by crahak: 07 November 2006 - 07:05 AM
#5
Posted 13 October 2004 - 07:08 PM
crahak, on Oct 13 2004, 09:06 PM, said:
yes, called like such: do_lowcase(text);
the idea is to use tolower anyways.
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!
#6
Posted 13 October 2004 - 07:08 PM
Quote
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); ...
- ← Beginner programmer
- Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
- VB Code to remove WS from Domain →
Share this topic:
Page 1 of 1



Help
Back to top








