Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / help with this varibles!! please explain to me this code??

Author
Message
pspurp
14
Years of Service
User Offline
Joined: 13th Feb 2010
Location: at your kitchen eating....
Posted: 15th Feb 2010 17:53


can somebody explain this code or declaration of variables, please help..

confused again..

i'm just a noob...
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 15th Feb 2010 19:06
It is declaring an enumeration set, to express the possible game modes with names instead of numbers. Learn about the enumerated type here:

http://www.learncpp.com/cpp-tutorial/45-enumerated-types/

By the way, the enum values should be enclosed in { this } type of bracket, not ( this ) type of bracket.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 15th Feb 2010 19:08
also, mind changing the signature? why everyone just join and put noob or im a noob or such...

pspurp
14
Years of Service
User Offline
Joined: 13th Feb 2010
Location: at your kitchen eating....
Posted: 15th Feb 2010 20:27
thanks for plaining my problem Mireben..



sorry mr. hassan i will change it thanks for the advice..

i'm just a noob...

Login to post a reply

Server time is: 2024-11-20 03:22:06
Your offset time is: 2024-11-20 03:22:06