I’m trying to make a 3ds loader file but it seems to have difficulties dealing with chunk 0x4000 - it contains name of object.
code
FILE *file;
unsigned char temp1;
case 0x4000 :
do
{
fread(&temp1,1,1,file);
i++;
}while(temp1!=’\0’);
break;
It doesn’t recognise the \0 sign what wrong?