plz help me

Status
Not open for further replies.

yrakesh78

Broken In
hi friends

one of my friend need menu driven program in 'C' the output may be like this

file edit
new cut
open copy
edit paste
save exit
save as
quit
exit


plz help him
 

Jove

Right off the assembly line
hmmm...menu driven programming in C....i donno whether we can design any 'windows' or 'menu graphics' in C as such...perhaps u should go for CPP...It has support libraries for menus...Suppose u want to go for C only..then u can use a switch rite!!

while(1)
{
///show all options
////ask to enter choice like
int choice;
scanf("%d",&choice);
switch(choice)
{
///for each choice call a function
}
}

guess this helps...cheers :)
 

mehulved

18 Till I Die............
I believe it can be done using loops and gotoxy, within cmd prompt but that would look really bad IMO. TC will have some options in it's graphics library but that will make the program non-portable and non-standard.
 
Status
Not open for further replies.
Top Bottom