|
-
April 25th, 2008, 11:12 AM
#2
Re: Reading memory stack
To get the raw data? fread() or istream::read, depending on whether you prefer <cstdio> or <iostream>.
To interpret the data? Mostly casting is fine, but if endian-ness is a potential problem (if this data file may be used by programs on multiple platforms), you may need to do some byte-swapping.
Incidentally, people will think you're talking about something else if you refer to this as a "memory stack".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|