I am afraid that you have to write your own function,test the left side of your string,if it's not a integer or a "+" or "-",trim it off,and then use the function "atoi" to convert the remainder string to integer.
wabc
Posts
-
how to convert valied strings into int? -
IIS and SSLyou can also install a "MS Certificate Server",and get a server certificate from it! it's distributed with Win2000 and you can find it in your Win2000 CDROM!
-
IE and SSL question!When IE connect to a website using SSL,IE will display a dialog to ask user to select a certificate of him(or her). In fact,IE connect to the system's CSP and search user's certificate. my question is: if my certificate is stored in other place,but not in the system's CSP or a SmartCard,how can I have IE use my certificate when it connect to a SSL website? For example,I store my certificate(and private key) in my own USB card,which is not compatible with the SmartCard.What can I do? I think that if I can hold up the event which occur when IE connect to the system CSP for requiring a user certificate(and private key),it will be simple! thanks advance!
-
IE and SSL question?When IE connect to a website using SSL,IE will display a dialog to ask user to select a certificate of him(or her). In fact,IE connect to the system's CSP and search user's certificate. my question is: if my certificate is stored in other place,but not in the system's CSP or a SmartCard,how can I have IE use my certificate when it connect to a SSL website? For example,I store my certificate(and private key) in my own USB card,which is not compatible with the SmartCard.What can I do? I think that if I can hold up the event which occur when IE connect to the system CSP for requiring a user certificate(and private key),it will be simple! thanks advance!
-
Who can help me on "How to install a device driver in a program"I want to install a USB device driver in my program! A friend of mine tell me use the function "SetupCopyOEMInf", but I know that this function can't be used on Windows98! I want my program running on both WindowsNT and Windows98! Who can give me an example or some advice! Thanks in advance!
-
Handleuse FindWindow function to get the handle of your control,then you can do what you want on that control.
-
Where can I find a DB2 CLI function C++ class wrapper?Where can I find a DB2 CLI function C++ class wrapper? thanks!
-
About P10 File!I want view the information of the P10 file
-
About P10 File!How can I view a "P10 file"(Certificate Request File),using Microsoft's tools!
-
Who know the function of "CryptExtOpenCER"?thanks very much
-
Who know the function of "CryptExtOpenCER"?what is the function of CryptExtOpenCER's declaration?
-
About WM_DEVICECHANGE event!I receive WM_DEVICECHANGE event in my program. When I plug a USB device, but,whatever, it's "wParam" always is 0x000007,and "lParam" always is 0x00. DBT_DEVNODES_CHANGED==0x0007;
-
How Can I get MFC support in ATL EXE COM Server project!How Can I get MFC support in ATL EXE COM Server project? I want my program like MS Word!
-
Can I control the IE browser by using a COM?Thank you for your help! I want get the data that IE browser send to the server before the sending action is executed,encrypt the data,and then give the crypto-data to the browser for sending to the server! Could you give me some advice about that!
-
Can I get the posting data of IE browser before the browser send the data to server? using VC!Can I get the posting data of IE browser before the browser send the data to server? using VC!
-
Can I control the IE browser by using a COM?Can I control the IE browser by using a COM? is there a example? thanks!
-
Can I control the IE browser by using a COM?Can I control the IE browser by using a COM? is there a example? thanks!
-
A Problem,thanks!But How can I install a hardware driver on Win98? you know,Win98 does not have any service!
-
A Problem,thanks!I don't want to install a NT service,but a hardware driver!
-
A Problem,thanks!How can I install a driver for a hardware in my VC program? thanks again!