Web Hosting Talk







View Full Version : C++ Ending


Flammable
08-11-2005, 06:31 PM
Ive been learning C++ and i have been creating a few test programs including this one to calculate VAT on a certain price.

The VAT part works fine it is just ending it that is the problem.

Please see http://www.swaza.com/vat_manager.cpp for the source file, it is only 2kb. See the end bit, if the user entered text is E or e then return to main which should then end the program.

If your feeling especially helpful today you could even add me to msn: itsflammable -@- hotmail.com [spam protection].

Thanks

Flammable
08-12-2005, 05:40 AM
I have fixed the problem and added loads of comments for beginners of C++ who want to learn more and want an easy to read program to start with. http://www.swaza.com/vat2.cpp