View Full Version : Using fopen(), fread(), fseek() for data in memory instead?

12-13-2008, 07:08 PM

I have a class that uses fseek(), fread(), fopen() to read from a file. The thing is, I have the data in the memory in a variable instead of in a file. Don't please ask for question why or provide alternatives, what I need to get done is to make these functions to work with the data in the variable. Got any ideas?