Usenet.com

www.Usenet.com

Group Index

Rec Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: TNT



RjY wrote:
Shouldn't those be
   file.seekp (0x494844, ios::beg);
   file.seekg (0x494844, ios::beg);
or am I missing something obvious, like the default base being hex?
I've done no more C++ than reading some books a couple of years ago

This depends. The OP did not specify a radix, therefor I assumed that since there were no alphabetic characters it was not hexadecimal (also no leading "0x"). Since it used numbers above 7, it could not be octal (also no leading "0"). This leaves decimal.


--
John Gaughan
http://www.johngaughan.net/
[EMAIL PROTECTED]




<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.