can you help explain me how to use std::transform ?\nI need to create a function that returns a string and has a string as parameter\nand use std::transform to convert all the uppercase char to lower and vice versa lowercase char to uppercase\nexample:\ninput = "aBc"\noutput = "AbC"
and i want to do it with a lambda, not using other mehtod like toupper, etc.
\n\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8b\xe2\x80\x8bthis is what i have so far which doesnt work, it compiles and runs but it …
c++ ×1