What is the easiest way to convert from int to equivalent string in C++. I am aware of two methods. Is there any easier way?
int
string
(1)
If you're using MFC, you can use CString:
CString
int a = 10; CString strA; strA.Format("%d", a);