You are on page 1of 35

Index

Introduction
Programming concept
Language introduction
Data flow diagram.
Header file.
User defined function.
Codes.
Hardware requirement.
User interface.
Data storing method.
Advantages & disadvantages.
Conclusion.
i!liograph".
Introduction
Our pro#ect is !ased on a small data management topic. Cyber caf
management$ this is protot"pe model of data storing technique and
management. In this pro#ect we include a small part of customer detail
information of a c"!er cafe. %hich !ased on following quer"&
%hat information a!out customer required&
How each customer identified&
%hat are !asic requirement of c"!er caf'&
%hat initial process performed to maintain information&
%hich is most difficult tas( to maintain data information& )tc.
*or a!ove solving a!ove pro!lem we decide to create a simple program with
our initial (nowledge of computer programming.
*or solving a!ove pro!lem we follow the software engineering+s concept of
modeling technique.
%e use water fall model.
%ater fall model provide following pro!lem solving technique.
Anal"sis.
Design
Coding.
,esting
Implementation.
All a!ove technique we discuss in ne-t part of our documentation.
Programming concept
A nalysis: - in this technique we consider the pro!lem. %hat is pro!lem& %hen
we defined the pro!lem then it is eas" to find the solution.
As in previous session we define following pro!lem.
%hat information a!out customer required&
How each customer identified&
%hat are !asic requirement of c"!er caf'&
%hat initial process performed to maintain information&
%hich is most difficult tas( to maintain data information& )tc.
*or each pro!lem we consider following solution.
%hat information a!out customer required&
*or this we define that at initial name$ address$ contact$ login and
logout time is enough information a!out an" customer.
How each customer identified&
*or this pro!lem we consider ID of customer which provided !" an"
authorit" as government of India for each person. And that will
provide for relia!le management for managing data.
%hat initial process performed to maintain information&
,he following initial process required to maintain data storage.
Add new entr".
.aintaining master record.
/earch record.
Log management 0per hour surfing cost1.
%hich is most difficult tas( to maintain data information&
,he most difficult tas( of marinating data information is displa"ing
data. Hear we use a searching option which search through man"
option and displa" record list a!out that option. And also displa" list
of all record.
D esign: - in this technique we draw a data flow diagram which provides !asic
structure to draw pro#ect.
C oding: - in this technique we use c language to implement pro#ect on the
designed structure.
T esting: - in this session we test our pro#ect in different environment$ access
man" data. 2n each entr" it gave appropriate result.
I mplementation: - in this session we consider the future modification on our
pro#ect. ecause in this initial stage we done man" mista(e. /o in
future we tr" to overcome the disadvantages.
Language introduction
The language use to construct the emplo"ee s"stem is C. %e have use C !ecause
we all are quite familiar with it. It is relia!le$ simple and eas" to use out of the
do3en of languages Availa!le. C is a high level language that provides high level
programming with efficienc" !ecause it has the power of the machine language.
C is general4purpose structured programming language. Its instructions consists of
)nglish terms that resem!le alge!raic )-pressions of augmented !" certain
)nglish 5e"words such as if$ )lse$ for do & while.
C !ridges the gap !etween conventional high level languages and machine
language. ,his allows C to !e used for /"stem programming as well as the
application programming. C is characteri3e !" the a!ilit" to write ver" concise
/ource program due in the part of the large no. of operator within the language it
has relativel" small instruction set$ though actual implementation includes
e-tensive li!rar" functions$ which enhances the !asic functions. *urther more$
the language encourages the
user to write additional li!rar" functions of their own. ,hus$ the user can easil"
e-tent the features and capa!ilities of the language. Another important
characteristics of C is that its program are highl" porta!le$ even more so then with
the other langue the reason for this is that C relegates most computer dependent
features to its li!rar". ,hus$ C accompanied !" its own sets of li!rar" functions$
which are written for the particular characteristics of the host computer. ,hese
li!rar" functions are relativel" standardi3ed$ however$ and each individual li!rar"
function it generall" accessed in the same manner from one version of C to
another. ,herefore$ .ost C program can !e processed on different computers with
little or no alteration.
Data flo diagram
!eader files
In this pro#ect we use following header files.
" rap#ics$# :-provides visual graphics function. " which the window+s and
graphics created.
% tdio$# :- 6standard input output 7 provides functions for accessing data
through input and output stream.
C onio$# :- 6consol input output7 provides function for accessing action
through consol.
% tring$# :- provides strings processing functions.
P rocess$# :- some process action function as e-it01.
D os$# :- /ome other action function as dela"01.
T ime$# 84 *or using special time function li(e gettime01$ asctime01 etc.
&ser defined function
In this pro#ect we use following function.
'ain(): - it recogni3e !" operating s"stem$ for e-ecution of program.
'ain*indo(): - it provide the main user interface window.
searc#():- ,his function use to search an" information a!out
customer.
status*sub*sub():- ,his function provide status for an" login (e".
status*sub():- It also Provide status a!out user information (e".
status():- It provide main window (e" status in status !ar.
sub*sub*fn():- It function to provide save entr" & displa" in main
widow.
sub*fn():- ,his function use we see su!9su!9fn & use it.
logout():- ,his function should have delete information from main
window.
cloc+*sys():- ,his function provide us simple cloc( to see current
time & date.
#istory():- It provide us to see Histor" A!out All Customer.
int ascii(c#ar arr,-):- ,his function Convert character from in ascii
from.
int asci(c#ar asc):- ,his function also Convert in ascii.
int tmdiff(c#ar tm.,-/c#ar tm0,-):- ,his function find difference
!etween two different time.
log():- ,his function provide us to change timing rate our self.
Codes:- main()
void main01
:
int gd;D),)C,$gm<
int -<
initgraph0&gd$&gm$=c8>>tc>>!gi=1<
-;pass0?1<
if0-;;@1
:
load01<
main9window01<
A
else
:
rectangle0@B?$CB?$DE?$DE?1<
outte-t-"0E??$D??$=Pl3 ,r" Again......=1<
A
getch01<
A
Codes:- main*indo()
void main9window01
:
int -$ch$rec9-;DF?$rec9";D@E$s"s9n<
int #$";FC$count$hr$min$rec9arrGBHG@H<
*IL) Ifp<
char nameGE?H$addGE?H$s"sG@H$rec9mG@H<
char contectG@@H$id9t"peG@?H$id9noGE?H$ltGFH<
setcolor0@J1<
setfillst"le0/2LID9*ILL$B1<
!ar0E$?$getma--01$getma-"011<
rectangle0E$?$getma--01$getma-"011<
rectangle0J$C$getma--014J$D?1<
rectangle0J$DC$getma--014J$D??1<
outte-t-"0@?$@B$=IK*2L.A,I2K84 =1<
rectangle0@E?$B$CE?$CJ1<
rectangle0D??$B$DJ?$EJ1<outte-t-"0D@?$@F$=Log9I=1<
rectangle0DF?$B$J@?$EJ1<outte-t-"0DFJ$@F$=Log92=1<
rectangle0JE?$B$JM?$EJ1<outte-t-"0JC?$@F$=ac(=1<
rectangle0J$DC$getma--014J$FC1<
outte-t-"0@?$JC$=/"stem=1<rectangle0J$DC$JB$D??1<
outte-t-"0F?$JC$=Kame=1<rectangle0JB$DC$@JB$D??1<
outte-t-"0@F?$JC$=Address=1<rectangle0@JB$DC$EJB$D??1<
outte-t-"0EF?$JC$=ID4t"pe=1<rectangle0EJB$DC$C@B$D??1<
outte-t-"0CE?$JC$=ID4no.=1<rectangle0C@B$DC$D@B$D??1<
outte-t-"0DE?$JC$=Contact=1<rectangle0D@B$DC$JCB$D??1<
outte-t-"0JD?$JC$=login=1<
for0#;?<#6;E@<#NN1
:
line0J$"$getma--014J$"1<
";"N@J<
A
rectangle0E$D?E$getma--014J$getma-"011<
rectangle0E$DJE$getma--014J$getma-"011<
rectangle0DEF$DJE$getma--014C$getma-"014@1<
setcolor0@1<
rectangle0@?$D@E$@@?$DCE1<
setcolor0@J1<
outte-t-"0E?$DEE$=User Info=1<
rectangle0@E?$D@E$EE?$DCE1<outte-t-"0@F?$DEE$=Log=1<
rectangle0EC?$D@E$CC?$DCE1<outte-t-"0EJ?$DEE$=Histor"=1<
rectangle0CD?$D@E$DD?$DCE1<outte-t-"0CF?$DEE$=)-it=1<
";M?<
Codes:- main*indo()
for0#;?<#6B<#NN1
:
setfillst"le0/2LID9*ILL$M1<
!ar0rec9-$rec9"$rec9-N@J$rec9"NE?1<
sprintf0rec9m$=Od=$#N@1<
outte-t-"0rec9-NJ$rec9"NJ$rec9m1<
rec9mG?H;KULL<
rec9arrG#HG?H;rec9-<
rec9-;rec9-NE?<
A
fp;fopen0=info9s.-ls=$=r=1<
while0fscanf0fp$=Os>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt1P;)2*1
:
s"s9n;ascii0s"s1<
rec9-;rec9arrGs"s9n4@HG?H<
setfillst"le0/2LID9*ILL$QL))K1<
!ar0rec9-$rec9"$rec9-N@J$rec9"NE?1<
outte-t-"0rec9-NJ$rec9"NJ$s"s1<
outte-t-"0@?$"$s"s1<
outte-t-"0F?$"$name1<
outte-t-"0@F?$"$add1<
outte-t-"0DE?$"$contect1<
outte-t-"0EF?$"$id9t"pe1<
outte-t-"0CE?$"$id9no1<
outte-t-"0JF?$"$lt1<
";"N@J<
if0"7CB?1!rea(<
nameG?H;KULL<
addG?H;KULL<
s"sG?H;KULL<
contectG?H;KULL<
id9t"peG?H;KULL<
id9noG?H;KULL<
ltG?H;KULL<
A
fclose0fp1<
-;@?<
count;?<
setcolor0E1<
status0count1<
setcolor0@1<
ch;getch01<
while0@1
:
Codes:- main*indo()
if0ch;;MM1
:
if0-7;CD?1-;@?$count;?<
else
-;-N@@?$countNN<
A
if0ch;;MJ1
:
if0-6;@?1-;CD?$count;C<
else
-;-4@@?$count44<
A
if0ch;;@C1
:
if0-;;@?1su!9fn01<
if0-;;EC?1histor"01<
if0-;;CD?1e-it0?1<
if0-;;@E?1log01<
A
status0count1<
setcolor0%HI,)1<
rectangle0@?$D@E$@@?$DCE1<outte-t-"0E?$DEE$=User Info=1<
rectangle0@E?$D@E$EE?$DCE1<outte-t-"0@F?$DEE$=Log=1<
rectangle0EC?$D@E$CC?$DCE1<outte-t-"0EJ?$DEE$=Histor"=1<
rectangle0CD?$D@E$DD?$DCE1<outte-t-"0CF?$DEE$=)-it=1<
setcolor0@1<
rectangle0-$D@E$-N@??$DCE1<
cloc(9s"s01<
ch;getch01<
A
A
Output:- main*indo()
Codes:- sub*sub*fn()
void su!9su!9fn01
:
int -$ch$count;?<
*IL) Ifp<
struct time t<
char nameGE?H$addGE?H$s"sG@H<
char contectG@@H$id9t"peG@?H$id9noGE?H$ltGFH<
char ImsgGH;:=s"stem=$
=Kame=$
=Address=$
=contect=$
=id9t"pe=$
=id9no=A<
setfillst"le0/2LID9*ILL$B1<
!ar0CRR$B$JMJ$EJ1<
setcolor0D1<
rectangle0D??$B$DJ?$EJ1<
setcolor0@J1<
outte-t-"0D@?$@F$=/ave=1<
rectangle0DF?$B$J@?$EJ1<outte-t-"0DFC$@F$=Log9i=1<
rectangle0JE?$B$JM?$EJ1<outte-t-"0JC?$@F$=ac(=1<
-;D??<
status9su!9su!0count1<
ch;getch01<
while0@1
:
if0ch;;MM1
:
if0-7;JE?1-;D??$count;?<
else
-;-NF?$countNN<
A
if0ch;;MJ1
:
if0-6;D??1-;JE?$count;E<
else
-;-4F?$count44<
A
if0ch;;@C1
:
if0-;;D??1!rea(<
if0-;;DF?1
:
Codes:- sub*sub*fn()
setcolor0@J1<
setfillst"le0/2LID9*ILL$?1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$msgG?H1<
goto-"0EB$E1<
gets0s"s1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$msgG@H1<
goto-"0EB$E1<
gets0name1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$msgGEH1<
goto-"0EB$E1<
gets0add1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$msgGCH1<
goto-"0EB$E1<
gets0contect1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$msgGDH1<
goto-"0EB$E1<
gets0id9t"pe1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$msgGJH1<
goto-"0EB$E1<
gets0id9no1<
A
if0-;;JE?1!rea(<
A
status9su!9su!0count1<
setcolor0@J1<
rectangle0D??$B$DJ?$EJ1<outte-t-"0D@?$@F$=/ave=1<
rectangle0DF?$B$J@?$EJ1<outte-t-"0DFC$@F$=Log9i=1<
rectangle0JE?$B$JM?$EJ1<outte-t-"0JC?$@F$=ac(=1<
setcolor0D1<
rectangle0-$B$-NJ?$EJ1<
ch;getch01<
A
if0-;;D??1
:
gettime0&t1<
sprintf0lt$=Od8Od=$t.ti9hour$t.ti9min1<
fp;fopen0=info9s.-ls=$=a=1<
Codes:- sub*sub*fn()
fprintf0fp$=Os>tOs>tOs>tOs>tOs>tOs>tOs>n=$s"s$name$add$contect$id9t"pe$id9no$lt1<
fclose0fp1<
setcolor0E1<
outte-t-"0EJ?$DF?$=)ntr" /aved=1<
dela"0@??1<
A
A
Output:- sub*sub*fn()
Codes:- logout()
void logout01
:
*IL) Ifp$IfpE$IfpC$IfpD<
float amount<
int df$i$#$(;?$ct;@$p;?<
struct date d<
struct time t<
char nameGE?H$addGE?H$s"sG@H$sG@H$amtG@JH$ansG@?H<
char contectG@@H$id9t"peG@?H$id9noGE?H$ltGFH$lotGFH$ldG@?H<
setcolor0@J1<
setfillst"le0/2LID9*ILL$?1<
!ar0@EE$@?$C@B$CC1<
outte-t-"0@J?$@B$=s"stem=1<
goto-"0EB$E1<
gets0s1<
gettime0&t1<
fp;fopen0=info9s.-ls=$=r=1<
while0fscanf0fp$=Os>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt1P;)2*1
:
if0strcmp0s"s$s1P;?1
:
fpE;fopen0=temp.-ls=$=a=1<
fprintf0fpE$=Os>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt1<
fclose0fpE1<
A
else
:
getdate0&d1<
sprintf0ld$=OdSOdSOd=$d.da9da"$d.da9mon$d.da9"ear1<
gettime0&t1<
sprintf0lot$=Od8Od=$t.ti9hour$t.ti9min1<
df;tmdiff0lt$lot1<
fpC;fopen0=.aster9rec.-ls=$=a=1<
fprintf0fpC$=Os>tOs>tOs>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt$lot$ld1<
fclose0fpC1<
A
Codes:- logout()
A
remove0=info9s.-ls=1<
rename0=temp.-ls=$=info9s.-ls=1<
setcolor0E1<
fpD;fopen0=log.-ls=$=r=1<
fscanf0fpD$=Os=$ans1<
(;?<
for0i;?<ansGiHP;KULL<iNN1
:
if0ansGiH7;DB&&ansGiH6;JR1
:
#;asci0ansGiH1<
(;(I@?N#<
if0p;;@1ct;ctI@?<
A
else p;@<
A
SSprintf0=Od>n=$i1<
amount;0float1(Sct<
if0df6;C?1amount;@?.??<
else
:
SS printf0=Od>tOf=$($amount1<
amount;0float1dfIamount<
A
sprintf0amt$=O.Ef rs=$amount1<
outte-t-"0E??$DF?$=)ntr" Logout=1<
setcolor0L)D1<
outte-t-"0C??$DF?$amt1<
setcolor0%HI,)1<
A
Codes:- cloc+*sys()
void cloc(9s"s01
:
time9t timer<
struct tm It!loc(<
struct time t<
while0P(!hit011
:
timer ; time0KULL1<
setfillst"le0/2LID9*ILL$?1<
!ar0DER$DJD$getma--014J$getma-"014E1<
t!loc( ; localtime0&timer1<
setcolor0@J1<
outte-t-"0DC?$DF?$asctime0t!loc(11<
dela"0@??1<
A
A
int asci0char asc1
:
int i;DB$#;?<
while0i6;JR1
:
if0asc;;i1!rea(<
else
:iNN<#NN<A
A
return #<
A
Codes:- #istory()
void histor"01
:
int -;E?$"$ch$count;?$i$#;?$show;@<
*IL) Ifp$It<
char nameGE?H$addGE?H$s"sG@H$sG@H$amtG@JH$f9nameG@???HG@?H<
char contectG@@H$id9t"peG@?H$id9noGE?H$ltGFH$lotGFH$ldG@?H$msgG@?H<
fp;fopen0=master9r.-ls=$=r=1<
while0fscanf0fp$=Os>tOs>tOs>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt$lot$ld1P;)2*1countNN<
count;countSEJ<
for0i;?<i6;count<iNN1
:
sprintf0msg$=tempOd.-ls=$i1<
strcp"0f9nameGiH$msg1<
msgG?H;KULL<
A
i;?<
fp;fopen0=master9r.-ls=$=r=1<
while0fscanf0fp$=Os>tOs>tOs>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt$lot$ld1P;)2*1
:
if0i6EJ1
:
t;fopen0f9nameG#H$=a=1<
fprintf0t$=Os>tOs>tOs>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt$lot$ld1<
fclose0t1<
iNN<
A
else :
i;?<#NN<
A
A
#;?<-;E?<
setfillst"le0/2LID9*ILL$B1<
!ar0E$E$getma--014E$getma-"014E1<
rectangle0E$E$getma--014E$getma-"014E1<
sette-tst"le0@$?$C1<
outte-t-"0@??$@?$=H I / , 2 L T I K * 2 L . A , I 2 K=1<
sette-tst"le0?$?$?1<
";J?<
while0"6;D??1
:
Codes:- #istory()
setcolor0%HI,)1<
rectangle0@?$"$getma--014@?$"N@J1<
";"N@J<
A
SS
rectangle0@?$J?$D?$D@?1<
rectangle0D?$J?$@@J$D@?1<
rectangle0@@J$J?$E??$D@?1<
rectangle0E??$J?$EM?$D@?1<
rectangle0EM?$J?$CD?$D@?1<
rectangle0CD?$J?$DC?$D@?1<
rectangle0DC?$J?$DR?$D@?1<
rectangle0DR?$J?$JJ?$D@?1<
SS
outte-t-"0@E$JJ$=s"s=1<
outte-t-"0DJ$JJ$=Kame=1<
outte-t-"0@E?$JJ$=Address=1<
outte-t-"0E?J$JJ$=Id9t"pe=1<
outte-t-"0EMJ$JJ$=Id9Ko=1<
outte-t-"0CDJ$JJ$=Contect=1<
outte-t-"0DCJ$JJ$=Lon9in=1<
outte-t-"0DRJ$JJ$=Lon9out=1<
outte-t-"0JB?$JJ$=Date=1<
rectangle0E?$DD?$@E?$DF?1<
outte-t-"0J?$DDJ$=ac(=1<
rectangle0@D?$DD?$ED?$DF?1<
outte-t-"0@FJ$DDJ$=/earch=1<
while0@1
:
if0show;;@1
:
setfillst"le0/2LID9*ILL$B1<
!ar0@?$FJ$getma--014@?$D@?1<
rectangle0@?$FJ$getma--014@?$D@?1<
";J?<
while0"6;D??1
:
setcolor0%HI,)1<
rectangle0@?$"$getma--014@?$"N@J1<
";"N@J<
A
Codes:- #istory()
SS
rectangle0@?$J?$D?$D@?1<
rectangle0D?$J?$@@J$D@?1<
rectangle0@@J$J?$E??$D@?1<
rectangle0E??$J?$EM?$D@?1<
rectangle0EM?$J?$CD?$D@?1<
rectangle0CD?$J?$DC?$D@?1<
rectangle0DC?$J?$DR?$D@?1<
rectangle0DR?$J?$JJ?$D@?1<
SS
";M?<
fp;fopen0f9nameG#H$=r=1<
while0fscanf0fp$=Os>tOs>tOs>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt$lot$ld1P;)2*1
:
outte-t-"0@E$"$s"s1<
outte-t-"0DJ$"$name1<
outte-t-"0@E?$"$add1<
outte-t-"0E?F$"$id9t"pe1<
outte-t-"0EMF$"$id9no1<
outte-t-"0CDF$"$contect1<
outte-t-"0DCF$"$lt1<
outte-t-"0J??$"$lot1<
outte-t-"0JJJ$"$ld1<
";"N@J<
if0"7D??1!rea( <
nameG?H;KULL<
addG?H;KULL<
s"sG?H;KULL<
contectG?H;KULL<
id9t"peG?H;KULL<
id9noG?H;KULL<
ltG?H;KULL<
lotG?H;KULL<
ldG?H;KULL<
A
fclose0fp1<
getch01<
A
if0ch;;ME1
:
show;@<
if0#6;?1#;count<
else #44<
A
Codes:- #istory()
if0ch;;B?1
:
show;@<
if0#7;count1#;?<
else #NN<
A
if0ch;;MM1
:
show;?<
if0-7;@D?1-;E?<
else
-;-N@E?<
A
if0ch;;MJ1
:
show;?<
if0-6;E?1-;@D?<
else
-;-4@E?<
A
if0ch;;@C1
:
if0-;;E?1!rea(<
if0-;;@D?1search01<
A
setcolor0%HI,)1<
rectangle0E?$DD?$@E?$DF?1<
outte-t-"0J?$DDJ$=ac(=1<
rectangle0@D?$DD?$ED?$DF?1<
outte-t-"0@FJ$DDJ$=/earch=1<
setcolor0@1<
rectangle0-$DD?$-N@??$DF?1<
setcolor0@J1<
ch;getch01<
A
for0#;?<#6;count<#NN1remove0f9nameG#H1<
main9window01<
A
Output:-#istory()
Codes:- searc#()
void search01
:
*IL) Ifp<
int -$"$ch$found;?<
char nameGE?H$addGE?H$s"sG@H$nameEGE?H<
char contectG@@H$id9t"peG@?H$id9noGE?H$ltGFH$lotGFH$ldG@?H<
setfillst"le0/2LID9*ILL$B1<
!ar0@?$J?$getma--014@?$D@?1<
setfillst"le0/2LID9*ILL$B1<
!ar0E$E$getma--014E$getma-"014E1<
rectangle0E$E$getma--014E$getma-"014E1<
sette-tst"le0@$?$C1<
outte-t-"0F?$@?$=/ ) A L C H I K Q I K * 2 L . A , I 2 K=1<
sette-tst"le0?$?$?1<
-;@?<";@??<
while0"6;DCJ1
:
setcolor0%HI,)1<
rectangle0-$"$getma--014@?$"N@J1<
";"N@J<
A
SS
rectangle0@?$@??$D?$DDJ1<
rectangle0D?$@??$@@J$DDJ1<
rectangle0@@J$@??$E??$DDJ1<
rectangle0E??$@??$EM?$DDJ1<
rectangle0EM?$@??$CD?$DDJ1<
rectangle0CD?$@??$DC?$DDJ1<
rectangle0DC?$@??$DR?$DDJ1<
rectangle0DR?$@??$JJ?$DDJ1<
SS
outte-t-"0@E$@?J$=s"s=1<
outte-t-"0DJ$@?J$=Kame=1<
outte-t-"0@E?$@?J$=Address=1<
outte-t-"0E?J$@?J$=Id9t"pe=1<
outte-t-"0EMJ$@?J$=Id9Ko=1<
outte-t-"0CDJ$@?J$=Contect=1<
outte-t-"0DCJ$@?J$=Lon9in=1<
outte-t-"0DRJ$@?J$=Lon9out=1<
outte-t-"0JB?$@?J$=Date=1<
rectangle0E?$MJ$@E?$RJ1<
outte-t-"0J?$B?$=ac(=1<
setfillst"le0/2LID9*ILL$B1<
!ar0@D?$DF$ED?$M?1<
rectangle0@J$DF$D??$M?1<
setfillst"le0/2LID9*ILL$?1<
!ar0@F$DM$CRB$FR1<
Codes:- searc#()
outte-t-"0E?$JJ$=/earch entr"84=1<
goto-"0E?$D1<
gets0nameE1<
";@E?<
fp;fopen0=master9r.-ls=$=r=1<
while0fscanf0fp$=Os>tOs>tOs>tOs>tOs>tOs>tOs>tOs>t
Os>n=$s"s$name$add$contect$id9t"pe$id9no$lt$lot$ld1P;)2*1
:
if0strcmp0nameE$name1;;?UUstrcmp0nameE$add1;;?UU
strcmp0nameE$contect1;;?UUstrcmp0nameE$id9t"pe1;;?UUstrcmp0nameE$id9no1;;?1
:
outte-t-"0@E$"$s"s1<
outte-t-"0DJ$"$name1<
outte-t-"0@E?$"$add1<
outte-t-"0E?F$"$id9t"pe1<
outte-t-"0EMF$"$id9no1<
outte-t-"0CDF$"$contect1<
outte-t-"0DCF$"$lt1<
outte-t-"0J??$"$lot1<
outte-t-"0JJJ$"$ld1<
";"N@J<
if0"7DC?1!rea( <
nameG?H;KULL<
addG?H;KULL<
s"sG?H;KULL<
contectG?H;KULL<
id9t"peG?H;KULL<
id9noG?H;KULL<
ltG?H;KULL<
lotG?H;KULL<
ldG?H;KULL<
found;@<
A
A
Codes:- searc#()
if0found;;?1
:
setfillst"le0/2LID9*ILL$?1<
!ar0EE?$J@$CRB$FR1<
setcolor0D1<
outte-t-"0EEE$JJ$=Item Kot *ound PP=1<
setcolor0@J1<
SS
A
fclose0fp1<
getch01<
histor"01<
A

Output:- searc#()
Codes:- log()
void log01
:
*IL) Il<
char ansG@?H<
int ch$-;E?<
setfillst"le0/2LID9*ILL$B1<
!ar0J$E$getma--014F$D??1<
sette-tst"le0@$?$C1<
rectangle0M$D$getma--014B$J?1<
outte-t-"0@J?$@?$=L 2 Q I K * 2 L . A , I 2 K=1<
sette-tst"le0?$?$?1<
if00l;fopen0=log.-ls=$=r=11;;KULL1
:
outte-t-"0@?$@??$=2ld log not set$ plese create log=1<
goto-"0@?$@?1<
printf0=)nter new value>t84=1<
setfillst"le0/2LID9*ILL$?1<
!ar0EDE$@DE$DCB$@JB1<
rectangle0ED?$@D?$DD?$@F?1<
scanf0=Os=$ans1<
l;fopen0=log.-ls=$=w=1<
fprintf0l$=Os=$ans1<
fclose0l1<
A
setfillst"le0/2LID9*ILL$B1<
!ar0J$JC$getma--014F$D??1<
outte-t-"0@??$@J?$=value84=1<
l;fopen0=log.-ls=$=r=1<
goto-"0C?$@?1<
fscanf0l$=Os=$ans1<
setfillst"le0/2LID9*ILL$?1<
!ar0@RE$@DE$CBB$@JB1<
rectangle0@R?$@D?$CR?$@F?1<
printf0=Os=$ans1<
fclose0l1<
while0@1
:

Codes:- log()
if0ch;;MM1
:
if0-7;@D?1-;E?<
else
-;-N@E?<
A
if0ch;;MJ1
:
if0-6;E?1-;@D?<
else
-;-4@E?<
A
if0ch;;@C1
:
if0-;;E?1!rea(<
if0-;;@D?1
:
setfillst"le0/2LID9*ILL$B1<
!ar0J$JC$getma--014F$D??1<
outte-t-"0@??$@J?$=)nter new value84=1<
setfillst"le0/2LID9*ILL$?1<
!ar0EDE$@DE$DCB$@JB1<
rectangle0ED?$@D?$DD?$@F?1<
goto-"0D?$@?1<
scanf0=Os=$ans1<
l;fopen0=log.-ls=$=w=1<
fprintf0l$=Os=$ans1<
fclose0l1<
A
setfillst"le0/2LID9*ILL$B1<
!ar0J$JC$getma--014F$D??1<
outte-t-"0@??$@J?$=value84=1<
l;fopen0=log.-ls=$=r=1<
fscanf0l$=Os=$ans1<
setfillst"le0/2LID9*ILL$?1<
!ar0@RE$@DE$CBB$@JB1<
rectangle0@R?$@D?$CR?$@F?1<
goto-"0C?$@?1<
printf0=Os=$ans1<
fclose0l1<
A
Codes:- log()
setcolor0%HI,)1<
rectangle0E?$CD?$@E?$CF?1<
outte-t-"0J?$CDJ$=ac(=1<
rectangle0@D?$CD?$ED?$CF?1<
outte-t-"0@FJ$CDJ$=Change=1<
setcolor0@1<
rectangle0-$CD?$-N@??$CF?1<
setcolor0@J1<
ch;getch01<
A
main9window01<
A

Output:- log()
!ard are re1uirements
Processor 8 4 p4II$ or e-tended 0new1.
.emor" 8 4 At least @? . of LA..
Dis( space 8 4 @? . hard dis( space.
Devices 8 4 (e"!oard$ monitor$ flopp" or cdSdvd drive.
2perating s"stem 8 4 window RB$ K, or V, series.

&ser interface
It provide CUI 0character user interface1$ it mean all tas( perform through (e" input+s
and control (e"s.

Data storing met#od
As we (now c doesn+t provide an" (ind of data!ase connectivit". ut it provide power
full feature of file handling.

Using c file handling we store data$ retrieve it and access it. %e use fprintf01 for
storing data and fscanf01 for fetching data.
oth are ver" powerful function provided !" standard input output li!rar".
,his pro#ect save data in W)mp.-lsX file$ which also accessi!le !" ms e-cel. ,his
stored in present wor(ing director".
Conclusion
,his is a protot"pe model to displa" a little wor(ing of data handling technique using
c"!er cafe management s"stem. ,his not provides enough features li(e a ma#or pro#ect
!ut in initial this is provide a !ase to implement software designing concept.
,his pro#ect perform well defined tas($ which we need to perform. And in future we
implement using e-tend concept of programming.
Ad2antages and disad2antages
,here are some advantages and disadvantages of this pro#ect.
Advantages84
It provides good searching facilit".
It provides common wor(ing.
)as" accessing.
Interactive interface
/olve all occurred pro!lems.
Provide help support in tas( !ar
Calculate time differences.
Disadvantages84
Platform dependent.
Una!le to perform printing.
Ko event handling 0mouse use1.
Lun onl" window environment.


/r. Information /ource Lefrence
@. Let us c ".(anet(ar
E. Codeguru.com internet
C. Complete reference c 4444

You might also like