Advertisement

3ds file reading trouble2

Started by July 04, 2001 03:18 PM
-1 comments, last by Zeblar Nagrim 23 years, 7 months ago
Im now tryng to read the objects name and I need to know how many characters there are. How to do it? Here is some code:
  

else if(SameString(ChunkTreeName, "Object block\n"))
{
   pcDataString = new char[100];
   char Data[100];
   fread(&Data, 1, 10101010 /* HOW MANY LETTERS ??? */, g_pf);
   sprintf(pcDataString, "%s", Data);		
}

  
Thanks, Zeblar Nagrim, Lord of Chaos

This topic is closed to new replies.

Advertisement