📄 subject_16053.htm
字号:
<p>
序号:16053 发表者:frankl 发表日期:2002-09-25 10:48:11
<br>主题:如何将一个结构体变量的初始值设为空?
<br>内容:例如:<BR><BR>struct point{<BR>int x;<BR>int y;<BR>} a;<BR><BR>我想将阿a的值变为空,该怎么办?<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>回复者:Norton AntivVirus 回复日期:2002-09-25 10:50:23
<br>内容:a aa;<BR>aa = new a;<BR>ZeroMemory(aa, sizeof(a));
<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 + -