>>273
配列に入れる。
//MSDNからコピペ
FILE *stream;
char line[100];

if( (stream = fopen( "fgets.c", "r" )) != NULL )
{
 if( fgets( line, 100, stream ) == NULL)
  printf( "fgets error\n" );
 else
  printf( "%s", line);
 fclose( stream );
}