📄 addressbook.h
字号:
// AddressBook.h: interface for the CAddressBook class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ADDRESSBOOK_H__03132834_FEB6_4740_A028_917B80B46952__INCLUDED_)
#define AFX_ADDRESSBOOK_H__03132834_FEB6_4740_A028_917B80B46952__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string>
using namespace std;
struct information {
string name;
string sex;
int age;
string birthday;
string address;
string email;
string telephone;
string mobile;
string memo;
};
class CAddressBook
{
public:
CAddressBook();
virtual ~CAddressBook();
void inputInformation();
void displayFile(char* fileName);
void printInformationToFile(information info, char* pathName);
};
#endif // !defined(AFX_ADDRESSBOOK_H__03132834_FEB6_4740_A028_917B80B46952__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -