Original Post
In the following lines of nehe''s model tut:
byte *pBuffer = new byte[fileSize];
inputFile.read( pBuffer, fileSize );
inputFile.close();
I get an error saying that the read function''s first parameter is a char * type. I tried changing pBuffer to a char * but it gave me a runtime error and crashed. What do I have to do to make it work?
-Mark