fork(1) download
  1. #include <algorithm>
  2. #include <iostream>
  3. #include <cctype>
  4.  
  5. int main()
  6. {
  7. std::string msg = "Ala ma kota";
  8. std::transform(msg.begin(), msg.end(), msg.begin(), ::toupper);
  9.  
  10. std::cout << msg << '\n';
  11. }
Success #stdin #stdout 0s 4296KB
stdin
Standard input is empty
stdout
ALA MA KOTA