单科课程成绩管理系统
源代码在线查看: link.h
// Link.h: interface for the CLink class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LINK_H__2A77FA50_8203_4A0E_A984_532060BD92B4__INCLUDED_)
#define AFX_LINK_H__2A77FA50_8203_4A0E_A984_532060BD92B4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "stdio.h"
#include "string.h"
#include "iostream.h"
#include
using namespace std;
typedef struct Node //定义结点
{
CString Code;
CString Name;
CString EndGrade;
CString MidGrade;
CString UGrade1;
CString UGrade2;
CString UGrade3;
CString UGrade4;
CString FGrade;
CString Order;
struct Node *Next; //结点的后继指针
}LinkNode,*Link;
class CLink
{
public:
Link Find(Link h,CString name);
void Delete(Link h,int i);
void QueList(Link h,int link_No);
Link GetHead();
Link GetLast();
Link GetList(Link h,int i);
void InitList();
void Insert(Link h, CString code,CString name,CString MGrade,CString EGrade,CString UGrade1,CString UGrade2,CString UGrade3,CString UGrade4,CString FGrade,int i);
CLink();
virtual ~CLink();
BOOL Inok,Delok;
private:Link L;
Link H;
};
#endif // !defined(AFX_LINK_H__2A77FA50_8203_4A0E_A984_532060BD92B4__INCLUDED_)