如题
解决方案 »
- 对话框里exception?Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND
- 图片响应键盘操作移动问题
- ??? MIME 过滤 ???
- vc中如何设置控件的方向?
- 怎么不支持opera呀,找不到导航栏!
- 怎么防止别人盗窃 自己录制的mp3 文件
- What is CTI? Help me!!
- 关于华为,恳请各位兄弟姐妹为小生指引人生道路
- 请教!
- 用CDaoTableDef建表时怎么定主关键字?急!!
- vs2008中, 命令行 与 附加依赖项里 lib 项不一致?
- wtl项目CWTLClock2View::OnTimer : function does not take 1 arguments 出错
或者CFILE
#include "windows.h"int main()
{
char buf[] = {
";comment\r\n"
"key1 = world\r\n"
"key2 = !\r\n"
}; ::WritePrivateProfileSection("hello", buf, "d:\\abc.ini");
return 0;
}d:\abc.ini[hello]
;comment
key1 = world
key2 = !