C/C++
locales.txt
Associated article: C++ Locales
Tags: C/C++
Published source code accompanying the article by by Nathan Myers in which he discusses a feature of the Standard C++ library that supports internationalization is "locale"--where programs run and how they relate to user needs.
C++ Locales
by Nathan Myers
Listing One
#include <iosfwd> // istream, ostream
#include <ctime> // struct tm
namespace ChronLib {
class Date {
long day; // days since 1752-09-14
public:
enum Month { jan, feb, mar, apr, may, jun, jul, aug, ...


