Raised This Month: $ Target: $400
 0% 

Array and variables


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
akysiev
Junior Member
Join Date: Mar 2006
Location: Earth
Old 03-23-2006 , 18:03  
Reply With Quote #1

Code:
#define 1Hour 3600 #define 3Days 259200 #define 7Days 604800 #define Permanent 0 new g_HighBanMenuValues[4] = {1Hour, 3Days, 7Days, Permanent};

Strings are null terminated arrays. The defines are preprocessor directives so that 1Hour, 3Days, and other symbols are replaced with the numeric value defined by it right before it is compiled.
akysiev 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:38.


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