Im a newbie and need to know how to fill a 2d array from a file of integers. This code doesn't seem to work:
#include<iostream.h>
#include<fstream.h>
#define in_file "array.dat"
int a[5][5];
int main()
for(int i=0;i<5;i++)
for (int j=0;j<5;j++)
ins >> a;