主题:求助 学籍管理系统的设计与实现
rj636
[专家分:0] 发布于 2005-05-19 10:41:00
学籍管理系统的设计与实现
从哪个网站可以找到范文!
谢谢!
回复列表 (共8个回复)
沙发
rupert [专家分:0] 发布于 2005-06-16 12:20:00
哈哈,我也正找这个系统阿,找到告诉我啊
板凳
delphi6 [专家分:3450] 发布于 2005-07-07 11:58:00
program information(input,output);
uses
crt;
type element=record
name:string[18];
telephone:string[15];
postcode:string[6];
end;
type sstudent=array[1..100] of element;
var
student:sstudent;
commandline:string[10];
all:integer;
j:integer;
k:integer;
tempstu:element;
begin
clrscr;
all:=0;
commandline:='';
{highvideo;}
{textcolor(14);}
gotoxy(20,10);
writeln('WELCOME TO INFORMATION SYSTEM!');
gotoxy(20,18);
writeln('type HELP to get on-line help.');
repeat
until keypressed;
clrscr;
{***********************************};
while commandline<>'quit' do
begin
writeln('command?');
readln(commandline);
if commandline='append' then
begin
all:=all+1;
writeln('>name?');
readln(student[all].name);
writeln('>telephone?');
readln(student[all].telephone);
writeln('>postcode?');
readln(student[all].postcode);
end;
if commandline='help' then
begin
writeln;
writeln('>help:');
writeln('>append:append a record.');
writeln('>help:on-line help.');
writeln('>quit:quit system.');
writeln('>delete:delete a record.');
writeln('>list:list a record.');
writeln('>modify:modify a record.');
writeln;
writeln('>current record:',all);
writeln;
commandline:='';
end;
if commandline='list' then
begin
writeln('>who do you want to list?');
readln(tempstu.name);
for j:=1 to all do
begin
if student[j].name = tempstu.name then
begin
writeln;
writeln('>name:',student[j].name);
writeln('>telephone:',student[j].telephone);
writeln('>postcode:',student[j].postcode);
writeln;
commandline:='';
end;
end;
end;
if commandline='delete' then
begin
writeln;
writeln('>who do you want to delete?');
readln(tempstu.name);
for j:=1 to all do
begin
if student[j].name=tempstu.name then
begin
for k:=j to all-1 do
begin
student[j]:=student[j+1];
end;
all:=all-1;
commandline:='';
end;
end;
end;
if commandline='modify' then
begin
writeln;
writeln('>who do you want to modify?');
readln(tempstu.name);
for j:=1 to all do
begin
if student[j].name=tempstu.name then
begin
writeln;
writeln('input new name?');
readln (student[j].name);
writeln('input new telephone?');
readln (student[j].telephone);
writeln('input new postcode?');
readln (student[j].postcode);
end;
end;
commandline:='';
end;
end;
{textcolor(7);}
clrscr;
end.
3 楼
ofshui [专家分:0] 发布于 2006-03-22 19:50:00
我也有找着找到的话,请告诉我一声吧.
4 楼
abc58258 [专家分:0] 发布于 2006-03-29 23:56:00
找到了告诉我一声啊,谢谢了啊
6 楼
爱Angel [专家分:0] 发布于 2006-06-19 23:40:00
楼上的是真的吗?
7 楼
编程新手007 [专家分:270] 发布于 2006-10-24 16:34:00
不会是作业吧?这么多人要,不过个人感觉应该不难实现呀!自己动手写写吧
我来回复