listnode.h
来自「C++ class and storage」· C头文件 代码 · 共 33 行
H
33 行
//ECE106 Lab#5//Name: Mo Li//Student#: 995447379//Date:Mar.09,2007#ifndef _LISTNODE_H#define _LISTNODE_H#include "studentRec.h"class listNode {private: studentRecord* student; listNode* next;public: // the default constructor listNode(studentRecord* _student); // the destructor ~listNode(); // sets the next child of the listNode. void setNext(listNode* nextptr); // returns the next field. listNode* getNext() const; // returns a pointer to the student record the listNode contains. studentRecord* getStudentRec() const;}; //listNode#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?