4 int main(int argc
, char* argv
[])
8 printf("Usage: %s filepath\n", argv
[0]);
16 int occs
[4] = {0, 0, 0, 0};
18 f
= fopen(argv
[1], "r");
21 printf("Unable to open file...");
25 while((c
= fgetc(f
)) != EOF
)
29 if(charsperline
!= 100)
53 printf("A: %d\nC: %d\nG: %d\nT: %d\n", occs
[0], occs
[1], occs
[2], occs
[3]);