look at an example using <fstream>
or, the 10 cent version:
ifstream file("path\\filename.txt");
while (file >> number)
matrix[index++] = number; // One dimensional array example.
Last edited on
There's no way this guy wrote the original program.
but my ide is can not run this program
find the flags to use a newer language version or get a new IDE. 2011 was 10 years ago -- not supporting this is no longer optional or acceptable.
Thank you code is perfectly running. I solved my ide problem