skip to main
|
skip to sidebar
Developers Guide
Sunday, May 17, 2009
Converting CString to double in MFC
You can use the following snippet to convert
CString
to
double
in MFC:
#include
"stdlib.h"
double func(CString pValue)
{
wchar_t* stopString;
double num = wcstod(
pValue
, &stopString);
return num;
}
1 comment:
Anonymous said...
This comment has been removed by a blog administrator.
10:38 AM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2010
(2)
►
December
(2)
▼
2009
(2)
▼
May
(1)
Converting CString to double in MFC
►
April
(1)
►
2007
(1)
►
October
(1)
►
2006
(2)
►
February
(2)
►
2005
(5)
►
October
(5)
1 comment:
Post a Comment