⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student.h

📁 做为SD0609的一员,我扎实的基础是如何打出来的,来看看我那时连猴子选大王都不会的人,是如何成长起来的吧!主要包括我所做的C++,JAVA基础联系.乱是乱了点,不过如果真心想学习,打好基础,看看也不
💻 H
字号:
#ifndef student_h#define student_hstruct Date{    int year;    int month;    int day;};struct Student{    int id;    char name[20];    Date birthday;    float score;};int showMenu();//show menu and get choicebool append( Student*&, int& );//add a new studentbool remove( Student*&, int& );//remove a studentbool update( Student*&, int& );//update student infobool search( Student*&, int& );//search studentbool list( Student*&, int& );//list all studentsbool showFall( Student*&, int& );//show fall student/*bool input( Student& );//input a student infomationbool input( Date& );//input a datebool isValid( const Date& );//check a datebool isLeap( int );//check if a year is leap or notint findID( Student*, int, int );//find id's indexvoid copyArray( Student*, Student*, int num );void display( const Student& );//show student infovoid display( const Date& );//show dateint showSortMenu();//show menu for sortint showSearchMenu();//show menu for searchint getIDIndex( Student*, int );//input new idvoid sort( Student*, int, int(*comp)(Student&,Student&) );void swap( Student&, Student& );int compID( Student&, Student& );int compName( Student&, Student& );int compDate( Date&, Date& );int compDate( Student&, Student& );int compScore( Student&, Student& );*/#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -