2008-01-01から1ヶ月間の記事一覧

ICU4C C++和暦変換

IBMのICU4Cを使って和暦変換するプログラムを作ってみた。例えば… ↓↓↓ 1989年1月7日→昭和64年1月7日 1989年1月8日→平成 1年1月8日 #include <iostream> #include "unicode/smpdtfmt.h" #include "japancal.h" using namespace std; string wareki(int year,int manth,i</iostream>…