[AGDev-newbies] menu error

Thomas Ward tward1978 at earthlink.net
Thu Jun 15 18:37:17 BST 2006


On the surface of it the code looks fine. I'm not sure what the actual 
problem is but I suspect the line you gave isn't the line with the real 
error in it.



Richard Bennett wrote:
> Hey listers, I am trying to understand the menus because they seem to 
> be better in game play. But am running into some problems. I just 
> tried to create a basic menu, no game here, because I just wanted to 
> see if I could get a menu to work. I tried to fix this error, to no 
> avail. Here is the error(I am getting 2 of these errors for menu up 
> and menu down 1 error in each module):
> 77 C:\Documents and Settings\Richard\My Documents\Game Designs\Free 
> Games\dipNSpit\main.cpp ISO C++ forbids comparison between pointer and 
> integer
>  
> here is the line of code that is being talked about:
> if(screen == gAnswer && gLocation > 2)
> maybe someone can help me figure this out, if not then I will work on 
> it some more and try to get it.
>  
>  
> Richard Bennett *BEAN*
> Georgia State Phi Beta Lambda(PBL) Secretary
> personal e-mail:
> rbennett at southlink.us <mailto:rbennett at southlink.us>
> Windows Messenger(or MSN messenger):
> ichabodsparrow at hotmail.com <mailto:ichabodsparrow at hotmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> AGDev-newbies mailing list
> AGDev-newbies at lists.agdev.org
> http://lists.agdev.org/cgi-bin/mailman/listinfo/agdev-newbies
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 6/14/2006
>   



More information about the AGDev-newbies mailing list