
FStream Problem in Lesson 31
i added
#include <fstream>
#include <iostream>
using namespace std;
to the Milkshapemodel.cpp
but still gives me an eror at
inputFile.read( pBuffer, fileSize );
-cant convert byte to char
but when i change
byte *pBuffer = new byte[fileSize];
to
char *pBuffer = new char[fileSize];
something else gets fucked up obviously
can someone provide me a fast solution?

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement