Original Post
How would I go about creating a buffer (in c++) that''s the size of a file that I open with fopen?
I''ve tried:
char databuffer[myfile->_bufsiz];
but I get this error: expected constant expression. I guess It has to be constant :-\
How would I go about creating a buffer the size of a file that is trying to be opened?