CString str=_T("MX1200" ); int position; for(int i=0 , str.length(),i++) if (str.getat(i) <= '9') and (str.getat(i) >= '0') { position =i; //exit; } str =str.left(position); int yourInteger =atoi(LPCTSTR(str));
L
lawrence2000
@lawrence2000
Posts
-
String to Number -
Print from Dialog in Doc/View architecturehehe, i think u can place a button to call the OnPrint message.
-
dos applicationcertainly ,you can make a console app in c++ 6.0.and you can make a gui like some bios screens .In visual c++ 6.0 you can't use windows classes like CWnd . i'm software engineer
-
Saving/creating and Loading filesI think you can use register after i watched your requirement . i'm a software engineer