GetData(&Filename); line 55
this was already pointed out to you in your last thread, you really need to pay attention to what people tell you on here.
you dont need to pass a type to functions only the name of the variable.
But in saying that line 25 will also not work as ifstream is not a data type, you just will have to put the the few lines in that function into line 55-58 or you can see if the scope will work within that function simply by having bool Game::GetData() { ....etc }
EDIT:
also naming/case convention is a bit off... typically you should use camel case for functions and variables starting with lowercase, and uppercase for constants, and camel case for classes.
eg:
1 2 3 4
class Game
function getData();
string thisIsAString="This is a string";
constint GAME_LENGTH=1000;
You sure? I thought it was standard convention.
well i know it is in Java, but figured c was the same. even though other forms work perfectly well in both languages, we have standards in place so other people know what the hell your code is doing, and vice versa.
string ThIsIsAsTrInGvArIaBlE="This is a string";
is also valid.... but would it be ok to use often? absolutely not :P
it was a case example.... not much of an example of camel case if I only had called it " str1 " , " input " or some such
additionally, naming is very important and your teacher is obviously somewhat experienced. But the naming of variables is only important for 1 very good reason... The people or other people reading your code need to understand your variable names. ( int a=34, b=23452, c=323, d=874; are bad examples of naming)
Are you trying to tell me you don't know or understand what "thisIsAString" is? it's pretty obvious, so in this case it's a perfect name for it.