📄 createnewrem.h
字号:
// CreateNewREM.h : main header file for the CREATENEWREM application
//
/*
* Copyright (c) 2001,欢乐七彩
* All rights reserved.
*
* 文件名称:CreateNewREM.h
* 文件标识:见配置管理计划书
* 摘 要:申请内存的各种情况分析
*
* 当前版本:1.1
* 作 者:李大鹏
* 完成日期:2008年9月8日
*
* 取代版本:1.0
* 原作者 :李大鹏
* 完成日期:2008年9月8日
*/
#if !defined(AFX_CREATENEWREM_H__82E34C42_EACB_4AD3_9653_AEA1E4CF5DE5__INCLUDED_)
#define AFX_CREATENEWREM_H__82E34C42_EACB_4AD3_9653_AEA1E4CF5DE5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CCreateNewREMApp:
// See CreateNewREM.cpp for the implementation of this class
//
class CCreateNewREMApp : public CWinApp
{
public:
CCreateNewREMApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCreateNewREMApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CCreateNewREMApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//right
char *GetMemory3(int num);
//error
//使用指针申请内存
void GetMemory(char *p, int num);
//right
//使用指针的指针申请内存
void GetMemory2(char **p, int num);
//error
//返回栈内存错误
char *GetString(void);
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CREATENEWREM_H__82E34C42_EACB_4AD3_9653_AEA1E4CF5DE5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -