Does anyone know how these functions work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Does anyone know how these functions work?

  Change ()   Lowercaseletter ()   Capitalletter ()   Lowercaseorcapital ()

25th Dec 2019, 10:33 AM
Ali Pishro
Ali Pishro - avatar
2 Answers
+ 4
Those do not appear to be standard functions. Did you write them yourself, or do you want to implement such functions? In that case, we would need more information to be able to help you. Just in case, this is what C++ provides regarding lowercase and uppercase letters: https://en.cppreference.com/w/c/string/byte/tolower https://en.cppreference.com/w/c/string/byte/toupper Both functions can be applied over a string using the std::transform function: https://en.cppreference.com/w/cpp/algorithm/transform
25th Dec 2019, 11:08 AM
Shadow
Shadow - avatar
+ 3
Shadow No, I didn't write these functions, thank you🙏
25th Dec 2019, 1:08 PM
Ali Pishro
Ali Pishro - avatar