inputing a text file into a 2D array

I need help with this function for my program. I'm suppose to load this image from a text file into a 2D array. I'm not sure how to do it withot skipping whitespaces.
/
>=====|
I*--o>
>=====
\

this is what I have so far:
void loadPlayer (char shipImage[5][7])
{
ifstream inData;

inData.open ("player.txt");

}



inData.get() won't skip anything.
Topic archived. No new replies allowed.