After everything said about system("CLS") ? Get real!


Of course he nailed it. We ALL could have, be we were trying to help you figure it out. Not give the answer, like Nuclear. Way to go, N :confused:

The problem is, his solution is not very well designed.
1) Adding 43. 0 would be better. With 43 you have to recode if you add a person.
2) A do-while when you accept the value at the top and still have to run through the loop to get to the bottom. A normal while would be more obvious.

Also, see this about using getch() . You should change to something portable and inherently C++, not a C add-on.

oh, okay, but I really need a solution because it's kinda urgent.
and also, I have already been thinking of changing 43 to 0 the moment I see his post.

the getch() is what they have told in school.. so.. yeah.

Thank you so much.

the getch() is what they have told in school.. so.. yeah.

:icon_rolleyes: Go to a better school :icon_wink:

hey man its very simple. need to print all ur choices on the screen, and each time its ask to choice any one option.
once u get one result form switch case. it must return u to the choice menu,,
if u give exit. thn and thn u can go out of that loop.
its quite easy. try it.
i wish it will work for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.