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