CStringを使った数値→文字列変換

CString::Format関数を使うと、数値→文字列への変換処理が簡単に行える。
	int i = 10;
	CString str;
	str.Format("%d", i);
	ASSERT(str == "10");

目次へ