#include
#include
#include
#include
#include
#include
#include
#include
enum FType { Name,
PersCode,
Address,
Mark
};
const n=5;
struct TStudent
{
int ID;
char vards[33];
char uzvards[33];
char perskods[12];
char adrese[151];
int atzime[n];
float videja;
TStudent *Next;
};
char prID[n][20]={"Matematika","Fizika","Elektronika","Ekonomika","Sports"};
struct TStudent* head=NULL, *tpt=head, *tail=NULL, *p;
fstream dbfile;
int min=4, max=8, cor=0;
char* strdel(char*,int,int);
void ReadConf();
void WriteConf();
void EditConf();
char* Edit(FType);
int FreeID();
int StudentsCount();
void EraseID(int ID);
void DeleteAll();
void Sort(int ColID, int selected);
void CreateHeader();
void InsertStudent(int ID);
void InsertStudent(int id, char* vards, char* uzvards, char* perskods, char* adrese, int atz[n]);
void ShowStudents(int RowID, int ColID, int selected);
void MoveStudents();
void ShowDetailedInfo(int StudentID);…