Does anyone know how these functions work? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 4

Does anyone know how these functions work?

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

25th Dec 2019, 10:33 AM
Ali Pishro
Ali Pishro - avatar
2 Respostas
+ 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