2006-05-19 ostringstream()の使い方 プログラミング ostringstream oss; oss << "HogeHoge\n"; char* a = string(oss.str()).c_str(); こんな感じかな。