Posted on 2003-11-02
I'm working on a program that counts certain things, and I want to display the current counts in a readable notation like 1,000 and 4,500, I've been looking on howto do this, but have had absolutely no luck. And since the fact that I'm not that good with C++, I've probaly been looking for the wrong thing. =\
Ok, Here's what it's going to be used for;
DDX_Text(pDX, IDC_SOMEIDC, Number_Format_Function(counts));
counts is an UINT.
It's being used in MFC, but the function would be pure C++, so I posted it here.
I'd love any pointers, or even examples, I'm stuck on this.