You should be reading like following
while ( fd >> gameSection >> gameDificulty >> gameNumber )
{
//...
}
solved Function reading file
You should be reading like following
while ( fd >> gameSection >> gameDificulty >> gameNumber )
{
//...
}
solved Function reading file