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


On the nightstand...


    The Art of Agile Development


    Beautiful Architecture


    Modern C++ Design


    Large Scale C++ Software Design

Personal

Friends


Interesting


Shared Readings