Consider separating the 1's and 0's with whitespace.
Otherwise, you may need to read each character as a char and convert to its equivalent digit.
the file contains 3 lines of 1,000 integers. That will be a waste of time
if you want to separate each int with white spaces.
just read it as a char, like he suggested. Then subtract '0' from it
to get the int value. Something like this :
char c;
ifstream iFile("num.txt");
int i = 0;
while(iFile.get(c) && i < 1000)
{
int num = c - '0';
myArray[0][i] = num;
i++;
}