📄 subject_24132.htm
字号:
<p>
序号:24132 发表者:chengyk 发表日期:2002-12-09 20:07:51
<br>主题:如何将类型字符串转换为类型为整型?
<br>内容:如CString str="2002",如何转换为int year=2002,<BR>谢谢指教!
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:金鱼王 回复日期:2002-12-09 20:16:54
<br>内容:int year = atoi(str.GetBuffer(str.GetLength());
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -