Raised This Month: $ Target: $400
 0% 

Arrays (Better coding methods) Expirenced programmers only


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lord of Destruction
Member
Join Date: Sep 2004
Old 04-04-2006 , 18:32  
Reply With Quote #1

how about Method #4: The solution for really experienced coders

Code:
enum CPlayer {   pKills,   pDeaths,   pName[ 32 ] }; new g_PlayerStuff[ 33 ][ CPlayer ]; // ... console_print(0 , "%s has %d kills and %d deaths", g_PlayerStuff[ id ][ pName ], g_PlayerStuff[ id ][ pKills ],  g_PlayerStuff[ id ][ pDeaths ] );
Lord of Destruction is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode