stuck on ARRRAYS and files c++

my problem is i cant read the names from a file and into an array
the txt file is formatted like this,,o and i cant use 2d arrays

name place(exp 1st 2nd 3rd) score
exp: blake jacobs 40th 340
bob john 57th 424

so far i have this:

#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
using namespace std;
#define MAX 100
int main(){
ifstream inFile;
string name[MAX];
int place[MAX];
int score[MAX];
int number;
inFile.open("test.txt");
if (inFile.fail())
{
cout << "No such file"<< endl;
}

int count = 0;


while(!inFile.eof()&& count <MAX)
{
getline(inFile,name[count]);
inFile >> place[count]>>score[count];
count++;

}
cout << name<<endl;
cout<< place;
Topic archived. No new replies allowed.