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

📄 subject_54896.htm

📁 vc
💻 HTM
字号:
<p>
序号:54896 发表者:昨夜又小雨 发表日期:2003-10-03 08:56:57
<br>主题:一个简单的问题!!
<br>内容:void CInterViewDlg::InitCombox(CComboBox mm)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;int i=0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;CString kk;<BR>&nbsp;&nbsp;&nbsp;&nbsp;while (i&lt;11)<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kk.Format(&#34;%i&#34;,i);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mm.AddString(kk);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i++;<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR><BR>}<BR><BR>InitCombox(m_conc1);<BR><BR>m_conc1为CComboBox类型,请大家帮我看看有什么问题<BR><BR>错误提示:<BR>G:\&amp;sup1;¤&amp;sup3;&amp;Igrave;\&amp;frac12;á&amp;sup1;&amp;sup1;&amp;raquo;&amp;macr;&amp;Atilde;&amp;aelig;&amp;Ecirc;&amp;Ocirc;\InterViewBegin\InterViewDlg.cpp(145) : error C2664: 'InitCombox' : cannot convert parameter 1 from 'class CComboBox' to 'class CComboBox'<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>回复者:_学习者_ 回复日期:2003-10-03 09:36:27
<br>内容:改为:<BR>void CInterViewDlg::InitCombox(CComboBox &amp;mm)<BR>
<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 + -