Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Student Record System

Student Record System

Ratings: (0)|Views: 19|Likes:
Published by shailesh singh

More info:

Published by: shailesh singh on Sep 14, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less





/*Student Record System - C implementationPolytechnic University of the PhilippinesMabini Campus, Sta. Mesa, ManilaCollege of Computer Management and Information TechnologyA Partial Fulfillment of the SubjectC Programming 1This is a simple Student Record System in Cwhich uses file handling concepts.Programmed by: Frederick BadionBS CompSci 1st year (SY: 2K4-2K5)Subject Professor: Mr. Alfred PagalilawanProgrammer/Instructor -CCMIT*/#include<stdio.h>#include<conio.h>#include<string.h>#include<dos.h>#include<stdlib.h>#include<ctype.h>
 FILE *fp;struct student{char snum[13];char fname[20];char sname[20];char mi;char ccode;}record;void Temp1(void);void twolinebox(int x1,int y1,int x2,int y2){int x,y;gotoxy(x1,y1); printf("É"); //alt-201gotoxy(x2,y1); printf("»"); //alt-187for(y=y1+1;y<y2;y++){gotoxy(x1,y); printf("º"); //alt-186gotoxy(x2,y); printf("º"); //alt-186}gotoxy(x1,y2); printf("È"); //alt-200gotoxy(x2,y2); printf("¼"); //alt-188for(x=x1+1;x<x2;x++){gotoxy(x,y1); printf("Í"); //alt-205gotoxy(x,y2); printf("Í"); //alt-205
}gotoxy(x1+1,y1+1);}void printxy(int x,int y,char string[]){gotoxy(x,y); printf("%s",string);}void center(int y,char string[]){int x=(80-strlen(string)+1)/2;gotoxy(x,y);printf("%s",string);}void Create(void){char opt;center(21,"WARNING!!!");center(22,"You are about to create a new file");center(23,"This will erase all records in the file...");center(24,"Are you sure you want to proceed?[Y/N] ");opt=getche(); opt=toupper(opt);if(opt=='Y'){fp=fopen("Group4.txt","w");center(24," ");center(24,"File successfully created!");}

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->