Original Post
hi, i have an array of pointers
CVertex **verts;
this array is allocated as
verts = new CVertex* [numberOfVerts];
the problem occurs when i want to write this array to a file:
fwrite(*verts, sizeof(CVertex) * numberOfVerts, 1, &myFile);
it just doesnt work! the data in the file is nothing than fubar!
can someone help me?
thanks
Gammastrahler