如题,谢谢!!
解决方案 »
- 标题说不清,进来瞅瞅吧。
- 如何使安装包程序在桌面生成类似酷狗音乐的文件夹
- 关于InstallShield的卸载快捷方式及卸载时删除不干净的问题
- 我在主对话框中接受数据并显示 并在他的一个子对话框中另建一个线程显示接受数据中的异常数据 数据量少并且慢的话正常 但数据量变大且速
- 有个非分要求:能不能将所用到的多个MFC类合并到一个类中
- CFileDialog MFC有,但是CPathDialog怎么做?
- 如何使菜单项互斥
- 利用webbrowser获取重定向事件和URL
- mfc winsocket小车远程控制软件实现简单运动功能 求一界面
- 急,急,急,急!关于候捷先生的书,希望大家能帮我
- 电子闹钟
- 请问MFC中关于FTP类的使用问题,谢!(100)
BOOL IsEmpty( ) const;Return ValueNonzero if the CString object has 0 length; otherwise 0.ResTests a CString object for the empty condition.
BOOL IsEmpty( ) const;Return ValueNonzero if the CString object has 0 length; otherwise 0.ResTests a CString object for the empty condition.
int len;
len=str.Getlength();
if (0==len)
printf("字符为空");
{
}else
{
}
...if(str == "")
{
...
}
{
//str为空时进行处理
}
esle
{
//str不为空
}
{
MessageBox("string is empty!!");
}