mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
25 lines
384 B
C++
25 lines
384 B
C++
|
|
#include <iostream>
|
|
#include <boost/locale.hpp>
|
|
#include <ctime>
|
|
|
|
using namespace std;
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
|
|
using namespace boost::locale;
|
|
using namespace std;
|
|
|
|
generator gen;
|
|
locale loc=gen("");
|
|
|
|
cout.imbue(loc);
|
|
|
|
cout << "Hello, World" << endl;
|
|
|
|
cout << "This is how we show currency in this locale " << as::currency << 103.34 << endl;
|
|
|
|
return 0;
|
|
}
|