This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Unformatted Input in C++ ...
- From: "Naren Reddy" <naren at iSoftel dot com>
- To: <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 20 Nov 2001 12:19:49 +0800
- Subject: Unformatted Input in C++ ...
Hi,
I need to read (in unformatted format) from a file. For this I
use the get function.
The compiler I am using is gcc 3.0
The issue is that I need to read to an unsigned char and get
function takes in a "char" not an "unsigned char".
In my prev version of gcc (2.95) this was perfectly alright
(Obviously that was not standard ansi C++)
Is there any standard way to do the above ?
Thanks in advance.
[Please CC me, I'm have not subscribed to this list.]
Regards
Naren