⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject_42345.htm

📁 一些关于vc的问答
💻 HTM
字号:
<p>
序号:42345 发表者:海底人 发表日期:2003-06-02 18:51:25
<br>主题:弱智的问题:如何将CString型转成int型?
<br>内容:如何将CString型转成int型?用什么方法?
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
回复者:maginn 回复日期:2003-06-02 19:46:38
<br>内容:Cstring str.format("%d",temp);
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:lijb 回复日期:2003-06-02 19:59:17
<br>内容:atoi() 或atof()<BR><BR>CString m_str; <BR>m_str="123";<BR>atoi(m_str.getbuffer(m_str.getlenth()));
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:titany 回复日期:2003-06-02 23:40:53
<br>内容:Cstring str.format("%d",temp); <BR><BR>请问:<BR>是使str只能输出int呢,还是把当中的char转为int输出?
<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 + -