Thread
:
Number String Question
View Single Post
#
10
(
permalink
)
March 30th, 2004, 02:37 PM
davekw7x
Authorized User
Join Date: Feb 2004
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Numbers with leading '0' are considered to be octal!
change
Code:
<< filedata[08] << filedata[09] << " "
to
Code:
<< filedata[ 8] << filedata[ 9] << " "
I suggest that you use cout << to observe the bytes that you are writing.
Dave
davekw7x
View Public Profile
Find all posts by davekw7x