开发者

string to integer type in visual c++

开发者 https://www.devze.com 2022-12-23 20:09 出处:网络
i make a textbox,enter some data, store it into string format,there are some values as numbers,can i change these string numbe开发者_如何转开发rs into integer format

i make a textbox,enter some data, store it into string format,there are some values as numbers,can i change these string numbe开发者_如何转开发rs into integer format the problrm is for visual c++ in visual studio in the windows form


If I understand your question correctly you can use the atoi() method, check this link.

0

精彩评论

暂无评论...
验证码 换一张
取 消