2,物理删除.
5,自定义的类没了:
project->add to project ->files
6,使用pi
include math.h
#define _use_math_defines
#include "math.h"
则
m_pi 就是pi了
7,请问怎样可以获得分区的卷标??
char buf[max_path];
getvolumeinformation("c:\\", buf, max_path, null, null, null, null, null);
afxmessagebox(buf);
8,打开一个网页
shellexecute(::getdesktopwindow(),_t("open"),//sk modified for unicode
_t("http://www.sohu.com"),null,null,//sk modified for unicode
sw_maximize);
9,关闭时,弹出对话框让用户确认
void cmainframe::onclose()
{
if(idok != messagebox("你要退出吗?点确定退出","你要退出吗?",mb_okcancel))
return ;
cframewnd::onclose();
}
10,菜单小问题
id_file_open