摘要:
写mfc程序程时,向导会自动在注册表中建立本程序的键,用于保存程序的一些设置信息。但有时我们不希望将这些配置信息保存到注册表中,而要存在自己指定目录中的ini文件(或其它文件),我们不用自己重写一个cinifile类,只需要要cwinapp::initinstance()中修改cwinapp的几个成员变量就可以了,如下:
//以下代码放到initinstance中//首先清除注册表键值变量所分......
摘要:
doing a thing better is often a waste of time.
-------robert byrne
after studying c++ for part of the third semester in my college time..i am working on some basic algorithm these days. exc......
制作自动循环播放的MP3播放器(下)
【程序编程相关:C++通过http下载二进制文件】
【推荐阅读:Visual C++中的ODBC编程实例】
【扩展信息:用VC++实现ODBC数据源设置】
摘要:
//--调用shell接口(系统运行窗口)的代码
#include "stdafx.h"
//--interface#include <exdisp.h>
#include <iostream>using namespace std;
void filerun(){ //--com coinitialize(null); do { cout << "-......