Error

Jan 27, 2010 at 7:53pm
error C2448: function-style initializer appears to be a function definition

What does this mean?
And where can I look up errors on the numbers given (like C2448 in this case)?
Jan 27, 2010 at 8:03pm
http://msdn.microsoft.com/en-us/library/s611x42d%28VS.80%29.aspx

And where can I look up errors on the numbers given (like C2448 in this case)?
You see, there's this type of web site, where you pass it search terms and it returns other sites that contain those terms. Crazy, huh?
Jan 27, 2010 at 8:05pm
Thanks =)
Jan 27, 2010 at 8:06pm
You see, there's this type of web site, where you pass it search terms and it returns other sites that contain those terms. Crazy, huh?


Please helios, we all know that's just a conspiracy.
Jan 27, 2010 at 8:08pm
Okay, but still, one problem, how should this code call error C2448??

1
2
3
4
5
6
7
8
9
10
void menu(u, v, w)
{
			cout<<"Who do you want to fight? (Press the number given between [])\n\n";
			cout<<"Rat [1] (Easy)\n";
			cout<<"Wolf [2] (Intermediate)\n";
			cout<<"Ogre [3] (Hard)\n\n";
			cin>>f;
			cout<<"\n";
	fight(f, u, v, w);
}
Jan 27, 2010 at 8:18pm
You're not declaring u, v, or w in line 1 for starters.
Jan 27, 2010 at 8:20pm
Ah lol thanks, thought it would be already ok, cuz I made a global variable for it (becuz I use it couple of times in my program)
Again thanks for help all =)
Topic archived. No new replies allowed.