Você está na página 1de 12

INTRODUCTIONCompetition management is a project aimed at developing an error free computerized system to maintain the details regarding competitions conducted

by the school. All the competitions will be registered in a competition register and the students who wish to participate can register them. Hall ticket will be generated and it is given to the student. This computerized system help the management to do the process in an effective way without any mistakes. PROBLEM DEFINITION Gone are the days of long registration queues and paper forms to sign up for an endurance event. An increasing number of event directors from both large and small events are embracing online registration services as an added-value for both them and their participants. Online registration not only improves efficiencies and eliminates unnecessary paperwork, it also maximises participation and improves marketing capabilities while allowing participants to sign up when and where it is most convenient for them from any Internet-enabled computer. The benefits of taking online registration for an endurance event are, in fact, so varied, that we will enumerate only the Top 10 for the event organiser and participant: For Organisers 1.Save time opening, entering and sorting out illegible or inaccurate forms can be very time consuming, so just by eliminating these processes off your duties you are set to get at least 4 less administrative work hours per week 2.Free Online registration - you can pass the small registration fee to your participant, half the fee between you and the participant, or pay the small fee yourself For Participants Save time Participants can sign up online when and where is most convenient for them in just a few minutes without having to print, manually fill out and send paper forms Improved customer support your online registration provider will ensure you have all the necessary information to answer immediately to any of the payment related

questions a participant might have Securely and conveniently pay Secure online payment online instead of writing a cheque processing 24/7 Active Network or counting cash at the front line, payment system is PCI DSS participants can simply enter their compliant and possesses Secure credit card details online to Socket Layer technology securely complete their transaction in seconds Centralised data management Receive automated confirmation collect participants data and receipt Once the payment is payments; view number of processed, participants will then remaining participant places; receive a receipt confirming they analyse participants and payments are signed up for their desired reporting; assign participants with event and their payment has been bib numbers; e-mail the securely processed and accepted participants database and more Improve event efficiency the Access to early bird pricing time and money saved on data with flexible pricing options, entry administrative tasks can be participants can now be used for better the event, contact incentivised and rewarded with a more sponsors, prepare more discount if they sign up by a activities, reply faster to specific date participants Access to discounts event Customised online registration organisers can offer discount a good online registration provider codes to potential participants to will permit full customisation of incentivise them to join the event, your event registration page to the hence participants are far more look and feel you want to give it likely to enjoy discounts through this payment method Detailed reporting The system Receive e-mails and should provide an insightful notifications - Participant gets the reporting into payments received ability to be informed straight to and due, refunds given, multi-event their inbox whenever a new event analysis and all other reporting of their interest is launched, without tools essential to efficiently having to look for it. manage a successful event

Improve marketing efforts with the ability to e-mail the database via a central management system, organisers will not only notify participants of future events, but also track their open rates and response

Enter multiple and team registrations via online registration, participants have the ability to enter multiple events without re-entering the same fields more than once and can register their whole team in one go

The most important to our evaluation is to understand the security measures each registration provider employs. Make sure the project utilises the strictest industry security settings, technologies and firewall measures to ensure your participants personal information and our stored data is always protected from thief corruption and power outages.

PROBLEM ANALYSIS The main target of the project is to create a user friendly menu driven program to help them register themselves into their desired competitions. Header files used: 1. iostream.h: Provides functionality to use an abstraction called streams. 2. conio.h: to create text user interfaces eg. clrscr() ,getch(),........ 3. fstream.h: Input/output stream class to operate on files. 4. string.h: prototypes all string functions 5. stdio.h: contains some standard functions related to input and ouput 6. dos.h: contains functions for handling interrupts, date and time, etc,... Algorithm: 1.CREATING COMPETITON REGISTER AND GIVING INPUT A. CLASS DEFINITION class name: competition private member variables: compno: competition number(int) date: date of input(structure ddate) compname: competition name(char []) comptype: competition type(char []) conducby: conducted by(char []) eligclass: eligibility class(char []) edate: examination date(structure ddate) venue: venue(char []) fees: fees(double) matavai: materials available(char []) cost: cost(int) ldate: last date of registration(structure ddate) condn: any other condition(char [])

teacher: teacher incharge(char []) public member functions: void in(): getting input for all the member variables B. FUNCTION TO WRITE INTO THE FILE void writecreg(): a user defined function which creates a binary file called "competition register" and writes records of competition details into it. C. MAIN FUNCTION using clrscr() command, the screen is cleared the function writecreg() is called.

2.MAIN PROGRAM (PRE) A. CLASS DEFINITION (COMPETITION) class name: competition private member variables: compno: competition number(int) date: date of input(structure ddate) compname: competition name(char []) comptype: competition type(char []) conducby: conducted by(char []) eligclass: eligibility class(char []) edate: examination date(structure ddate) venue: venue(char []) fees: fees(double) matavai: materials available(char []) cost: cost(int) ldate: last date of registration(structure ddate) condn: any other condition(char []) teacher: teacher incharge(char [])

public member functions: void list(): displays the competition number, name , eligibility classes of each record. int retcompno(): returns the competition number. char* retcompname(): returns the competition name. int retedatem(): returns the month of examination date. void halldisp(): displays date and venue required for a hall ticket. void pmdis(): displays the competition number, name, examination date, venue for a particular month. void pcdis(): displays the competition number, name, examination date, venue, last date to register for a particular class. B. CLASS DEFINITION (STUDENT) class name: student private member variables: dte: date of registration(structure ddate) cno: competition number(int) sname: name of the student(char []) cname: competition name(char []) sec: section(char) fname: father's name(char []) eid: email id(Char []) phone: phone number(long int) matreq: materials required(char []) tfees: total fees(double) public member variables: sno: student registration number(int) public member functions: void in(): getting input for all private member variables int retcno(): returns competition number.

char* retcname(): returns competition name. char* retsname(): returns student name. int retstd(): returns student class. char retsec(): returns student section. void hlldis(): displays the student name, registration number, father's name, email id, phone number required for a hall ticket.

C.CLASS DEFINITION (RESULT) class name: result private member variables: sno: student number(int) cno: competition number(int) sname: student name(char []) cname: competition name(char []) std: student class(int) sec: student section(char) public member functions: char* retcname(): returns competition name. int retcno(): returns competition number. void out(): displays student registration number, name, class, section, result place secured. D. MAIN FUNCTION: clrscr(): to clear the screen. introduction to the project is displayed. menu is displayed ch: choice(int). choice is taken from the user in ch. variable ch is passed to the switch statement. if ch=1, complist() is called. if ch=2, stureg is called. if ch=3, competition number, competition name, student name, class, section is taken from the user in n,a,b,m,z. Then hall() is called passing n,a,m,b,z as arguments.

if ch=4, particular class is taken from the user in r. Then r is checked if it is a valid number. comp_pc() is called. if ch=5, particular month is taken from the user in h. Then h is checked if it is a valid number. comp_pm() is called having h as its argument. if ch=6, the competition name, number is taken from the user in s,x. Then comp_res is called passing s and x as its arguments. The whole program is looped using do while. E. FUNCTION DEFINITION (COMPETITION LIST) function name: complist() return type: void member variables: c: competition(structure competition) the file "competition register" is opened. each record is read and the member function of competition class list() is called by using the object c. the file is closed. F. FUNTION DEFINITION (STUDENT REGISTER) function name: stureg() return type: void member variables: s: student( class student) rep: reply(char). file student register is created. input is given till rep='y'. student's registration number is alloted. file is closed. G. FUNCTION DEFINITION (HALL TICKET) function name: hall return type: void arguments:

n1: competition number(int) a1: competition name(char []) b1: student name(char []) m1: student class(int) z1: student section(char) member variables: s: student(class student) c: competition(class competition) files competition register and student register are opened. till the end of the file is reached, each record is read and if the object(s) competition number,competition name, student name, class, section, is same as that of the given arguments, hlldis() of class student is called. Then competition register is read and the competition number and name of the object is compared with the given arguments. If they are same halldisp() of class competition is called using object c. Both the files are closed.

H. FUNCTION DEFINITION (PARTICULAR CLASS(3-12)) function name: comp_pc() return type: void member variables: c: competition(competition class) the file "competition register" is opened. each record is read and pcdis() of competition class is called by using the object c. file is closed. I. FUNCTION DEFINITION (PARTICULAR MONTH) function name: comp_pm() return type: void arguments: h1: month number(int)

member variables: c: competition(competition class) the file "competition register" is opened. each record is read and if the object's competition's exam date's month is equal to h1, then pmdis() of competition class is called by using the object c. file is closed. J. FUNCTION DEFINITION (RESULT) function name: comp_res() return type: void arguments: s1: competition name(char []) x1: competition number(int) member variables: r: result( result class) the file "result register" is opened. till the end of the file is reached , each record is read and the competition name, number is compared with s1 and x1. Then if it is true, out() of class result is called by using the object r. the file is closed.

3. CREATING RESULT REGISTER AND GIVING INPUT A. CLASS DEFINITION class name: result private member variables: sname: student name(char []) place: result place secured(char []) cname: competition name(char []) sno: student number(int) cno: competition number(int) sec: student section(char)

std: student class(int) public member functions: void in(): the input for the private member variables are taken. B. MAIN FUNCTION clrscr(): clearing the screen. member variables: r: result(class result) rep: reply(char) the file "result register" is created. till reply is yes in() of class result is called using the object r and record is written into the binary file. the file is closed