Code Snipet of the Day

Ξ February 4th, 2010 | → 0 Comments |
Programming |, , , |

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


std::string s(”hello”);

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

What does this do?

 

Quote

Ξ February 4th, 2010 | → 0 Comments |
Life |, , |

The most exciting phrase to hear in science, the one that heralds new discoveries, is not ‘Eureka!’ (I found it!) but ‘That’s funny …’