I'm working with VC++ using Visual Studio.net 2008 platform.I've a previous experice working on VS 6.0 only.

in my project I want to convert a CString value to integer. The code I've used is
int ss;
CString ab=25;
the error message that came was
"sscanf cannot convert parameter 1 from CString to const char *".

How to fix it???