|
O.K. this is the ISO STANDARD C++ forum. I don't want to see conio's and dos.h's anymore. Retype your program and remove the things that are not needed for your question.
Also, look up on this forum why you should change
<iostream.h>
<fstream.h>
<iomanip.h>
<ctype.h>
into
<iostream>
<fstream>
<iomanip>
<cctype>
This is all part of the ISO standard.
Also, when using char* (or char[]), use std::string from the <string> header instead unless there is an URGENT reason not to do so. Ok, first remove the non-iso items then post so we can talk further. Also add some comments so peeps can read what you're up to.
__________________
|