2015-11-25から1日間の記事一覧
はてダに書いた 承認にあまり執着がない人 - 脳みそは精神の乗り物にして 精神は脳みその奴隷食べることにあまり興味がない人
#include #include #include using namespace std;int main() { int a=5; ostringstream stream; stream string ss = stream.str(); cout } これをcharの配列にしてfputsとかするには fputs(stream.str().c_str(),fp); とかすればいい。 stream.str()でstd::…