Design Pattern Examples
Overview of object-oriented design patterns
titlecase.cpp File Reference

Implementation of the titlecase() function, for making a word lowercase with the first letter uppercase. More...

#include <sstream>
#include "titlecase.h"
Include dependency graph for titlecase.cpp:

Go to the source code of this file.

Namespaces

namespace  Helpers
 The namespace containing all the "helper" functions in the C++ code.
 

Functions

std::string titlecase (const std::string &s)
 Convert the first word (or only word) in the given string to lowercase then make the first letter uppercase. It does not touch any of the other words after the first.
 

Detailed Description

Implementation of the titlecase() function, for making a word lowercase with the first letter uppercase.

Definition in file titlecase.cpp.