Greeter
1.0
|
#include <greeter.h>
Public Member Functions | |
Greeter (std::string name) | |
std::string | greet (LanguageCode lang=LanguageCode::EN) const |
A class for saying hello in multiple languages
Greeter::Greeter | ( | std::string | name | ) |
Creates a new greeter
name | the name to greet |
std::string Greeter::greet | ( | LanguageCode | lang = LanguageCode::EN | ) | const |
Creates a localized string containing the greeting
lang | the language to greet in |