I am trying to read a text file into an array and I'm having some trouble doing so. here is the code that I have so far. Any help would be much appreciated.
Code:
#include <stdio.h>
#include <ctype.h>
#define MAX_ROW 15
#define MAX_COL 6
int main()
{
FILE* numbers;
int x;
int ary[MAX_ROW][MAX_COL];
numbers = fopen("extradata.txt",
Leave a comment: