the array size, i, is supposed to be 271.. i set x = i-1 //270, the last index for cout...... and then i-- ,,,, up to 0....... i don't know why it doesn't read or display from the beginning of the txt file eventhough if i test with a code like id[0] or lastName[270] , they will give me the right index value
"Supposed to be" is evil. Never assume. display the value in both loops and be sure.