Feb 4, 2010 at 5:08pm UTC
mmlkmlkmlk
Last edited on Feb 21, 2010 at 9:03am UTC
Feb 4, 2010 at 9:03pm UTC
Well, where is categoryFromFileIndex defined? You haven't included its definition within your post so my guess is that the compiler can't find it because it either doesn't exist or is not declared prior to it being called.
Feb 5, 2010 at 9:13am UTC
xcdscdcdsc
Last edited on Feb 21, 2010 at 9:04am UTC
Feb 5, 2010 at 7:25pm UTC
[okioikm
Last edited on Feb 21, 2010 at 9:03am UTC
Feb 6, 2010 at 1:58pm UTC
789709uj
Last edited on Feb 21, 2010 at 9:03am UTC
Feb 6, 2010 at 2:52pm UTC
can you post the quit() and perform(char) function?
Feb 6, 2010 at 3:04pm UTC
hgvg kj k
Last edited on Feb 21, 2010 at 9:03am UTC
Feb 6, 2010 at 3:49pm UTC
dsscscdsc
Last edited on Feb 21, 2010 at 9:04am UTC
Feb 6, 2010 at 4:00pm UTC
Last edited on Feb 6, 2010 at 4:02pm UTC
Feb 6, 2010 at 4:09pm UTC
sadasdasds
Last edited on Feb 21, 2010 at 9:04am UTC
Feb 6, 2010 at 4:13pm UTC
are you including direct.h for the function.
And you had this error earlier, have still not answered this question:
magnificence7 wrote:can you post the quit() and perform(char) function?
are these your functions or part of a library?
Last edited on Feb 6, 2010 at 4:15pm UTC
Feb 6, 2010 at 5:43pm UTC
fffvfdvddvv
Last edited on Feb 21, 2010 at 9:04am UTC
Feb 7, 2010 at 3:36pm UTC
98569
Last edited on Feb 21, 2010 at 9:05am UTC
Feb 7, 2010 at 6:31pm UTC
444444
Last edited on Feb 21, 2010 at 9:04am UTC
Feb 7, 2010 at 11:39pm UTC
It's because quit( wants a character ); and you are calling it like this -> quit(); line 8
Also I don't understand what you mean about exit(0);
Last edited on Feb 7, 2010 at 11:42pm UTC
Feb 7, 2010 at 11:41pm UTC
Am I right in assuming that main_menu() calls preform()?
Feb 8, 2010 at 12:19am UTC
I don't think the call to main_menu() is needed, as the function should return there anyway.
else main_menu() ; // not needed
you change the quit function like this:
1 2 3 4 5 6 7 8 9
void quit ()
{
cout << "Are you sure you want to Quit the program? y/n: " ;
cin >> inp ;
if (toupper(imp) == 'Y' )
exit (0);
// else will return void.
}
Last edited on Feb 8, 2010 at 12:25am UTC