Code Snipet of the Day

Ξ February 4th, 2010 | → | ∇ Programming |

#include <cctype>
#include <string>
#include <algorithm>


std::string s(”hello”);

std::transform(s.begin(), s.end(), s.begin(), ::toupper);

What does this do?

 

Leave a reply