This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]