Try this:
CString yourString;
CString strNum;
strNum.Format("%d", 5);
yourString.Append(strNum);
If this helps please take time to accept the solution. Thank you.
Also, next time look around for examples instead of asking first. As a developer, you're expected to find solutions for your self, not have them delivered.