Re: US Military Dead during Iraq War



Frank Kotler wrote:
>
> Okay, what's the trick? Segfaults on my machine...

Maybe you don't have created the input file input.txt.

Replace the line:

in= fopen("input.txt","r");

by:

if ( (in=fopen("input.txt","r")) == NULL)
{printf("input file not found\n"); exit(0);}
.