Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. void makeArray(FILE *ifp, int *scores[ROWS][COLS]) {
  2. int i, j;
  3. int key = 999;
  4. while(scores[i][j] != key){
  5. for(i=0; i<COLS;i++)
  6. {
  7. printf("filling column %d\n",i);
  8. for(j=0;j<ROWS;j++)
  9. {
  10. fscanf("%i", scores[i][j]);
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement