.txt to Array: wrong cout value.

I've taken the 1785 values in the Stats.txt and converted them into an array. But when I attempt to output the last value, it gives me the second to last.

1
2
3
4
5
6
7
8
9
10
11
12
  ifstream stats("Stats.txt");
  if(stats.is_open())
  {
	string values[1784];

        for(int i = 0; i < 1784; ++i)
        {
            stats >> values[i];
        }

	cout << values[1783];
  }
isn't the size of values should be 1785 ?
Topic archived. No new replies allowed.