"Naeem" <> wrote in message
news: ups.com...
> When i try to read a file using fstream in borland C++, result is
> displayed with unusual characters.
> I read a file "named ffile.txt" using ffile.read() or ffile>> into
> variables of same width as these were written into file. But in both
> cases unusual characters are displayed with file data making it
> unreadable. Any suggestions....
Show your code and example input. If your code is
long (more than ~100 lines, create a (complete,
compilable) sample program that gives the same
problem.
-Mike
|