vc++6.0 程序代码注释(上)
来源:百度知道 编辑:UC知道 时间:2024/06/25 00:11:35
// URLLimited.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "URLLimited.h"
#include "MainFrm.h"
#include "URLLimitedDoc.h"
#include "URLLimitedView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CURLLimitedApp
BEGIN_MESSAGE_MAP(CURLLimitedApp, CWinApp)
//{{AFX_MSG_MAP(CURLLimitedApp)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
// URLLimited.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "URLLimited.h"
#include "MainFrm.h"
#include "URLLimitedDoc.h"
#include "URLLimitedView.h"
// 包含头文件
#ifdef _DEBUG
#define new DEBUG_NEW
//预编译指令,如果定义了_DEGUG,则定义DEBUG_NEW,调试程序使用
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CURLLimitedApp
BEGIN_MESSAGE_MAP(CURLLimitedApp, CWinApp)
//以下是消息映射表,即:把某个消息和处理函数相关联
//{{AFX_MSG_MAP(CURLLimitedApp)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
//把ID_APP_ABOUT消息,和OnAppAbout函数相关联,应该是"关于"对话框
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_