MFC----打开或创建文件
来源:互联网 发布:白鲨外设淘宝店 编辑:程序博客网 时间:2024/05/21 12:49
CFile file;
if(file.Open(L"test1.TXT",CFile::modeReadWrite))
{
MessageBox(L"Open File OK");
}
else
{
file.Open(L"test1.TXT",CFile::modeCreate |CFile::modeReadWrite);
MessageBox(L"File not exist to create");
if(file.Open(L"test1.TXT",CFile::modeReadWrite))
{
MessageBox(L"Open File OK");
}
else
{
file.Open(L"test1.TXT",CFile::modeCreate |CFile::modeReadWrite);
MessageBox(L"File not exist to create");
}
- MFC----打开或创建文件
- MFC打开文件或打开文件夹并设置文件焦点
- vs2013 MFC打开文件或文件夹对话框(有图有真相)
- MFC文件打开、保存对话框 及文件创建、存储
- MFC打开文件对话框
- MFC 文件打开对话框
- MFC对话框打开文件
- MFC打开文件对话框
- MFC打开文件对话框
- MFC打开文件对话框
- MFC打开文件对话框
- MFC 打开文件对话框
- MFC打开文件对话框
- MFC打开文件
- MFC打开文件对话框
- MFC打开文件对话框
- MFC 打开文件对话框
- MFC打开文件对话框
- POJ 2513 trie+并查集+欧拉路
- 设计模式(6)-适配器模式(Apater)
- Java 复习
- 20120811完成剑指offer所有习题
- POJ 2661 Factstone Benchmark
- MFC----打开或创建文件
- 实际开发中或产品部署中开发模式(devMode)的设定
- 关于NIOSII的点点滴滴积累
- SmsDemo短信例子程序说明
- 生成全排列
- hashmap,hashset
- .net控件命名规范
- paip.常用android手机软件----语音篇
- 用例图——你真的懂了吗?