The best I can figure is that you want to read from a file into a structure or list of structures?
That's the best that I can figure from your post.
int main( void )
fp = fopen( "yourfile.dat", "rb" );
if( fp != NULL )
/*read from file*/
for( count = 0; count < n; count++ )
if( fread( &something[count], sizeof( tmatiere ), 1, fp ) != 1 )
break; /* read failed */
fclose( fp );
Also, you need to give a size to your array:
chariot matter [SIZE];