Timeline for C++ convert word in type string variable to lowercase [duplicate]
Current License: CC BY-SA 3.0
Post Revisions
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 26, 2014 at 21:12 | history | closed |
Alan Stokes Mat Thomas Matthews mghie EdChum |
Duplicate of How to convert an instance of std::string to lower case | |
| Apr 26, 2014 at 18:14 | vote | accept | user3317020 | ||
| Apr 26, 2014 at 17:43 | answer | added | Soren | timeline score: 5 | |
| Apr 26, 2014 at 16:47 | comment | added | user3317020 | Iv got a semester of code knowledge. Everything on that page is practically written in chinese. Not to metion how i could explain any of that to my teacher. | |
| Apr 26, 2014 at 16:46 | review | Close votes | |||
| Apr 26, 2014 at 21:12 | |||||
| Apr 26, 2014 at 16:37 | comment | added | o_weisman | Daniel has pointed you to an example | |
| Apr 26, 2014 at 16:29 | comment | added | user3317020 | removing the '()' after 'tolower' give 'no matching function for call to transform' and a bunch of extra lines | |
| Apr 26, 2014 at 16:25 | comment | added | user3317020 | Whether i use 'transform' or 'tolower()' i get 'error: cannot convert 'std::string' to 'int' for arguement '1' to 'int tolower( int )'. I dont understand since the 'entry.state' variable is a string | |
| Apr 26, 2014 at 16:20 | comment | added | Alan Stokes |
Try removing the () after tolower - you want to pass the function, not call it.
|
|
| Apr 26, 2014 at 16:17 | comment | added | The Paramagnetic Croissant |
so what's wrong with tolower(), exactly?
|
|
| Apr 26, 2014 at 16:15 | history | asked | user3317020 | CC BY-SA 3.0 |