请教在LISTBOX上如何一行输出2个数

请问在LISTBOX上怎么一行输出2个数
请问在LISTBOX上怎么一行输出2个数,类似于printf("%s ---- %d个\n", iter->first.c_str(), iter->second);

------解决方案--------------------
CString str;
str.Format("%s ---- %d个\n", iter->first.c_str(), iter->second);

listBox.AddString(str);