Raised This Month: $ Target: $400
 0% 

How is this argument a mismatch?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 02-08-2010 , 18:30   Re: How is this argument a mismatch?
Reply With Quote #5

Compiled perfectly. Thanks for the help.

Quick question: I had previously done
PHP Code:
#define MAX_REASONS    7

new const sz_Reasons[MAX_REASONS] = {
    
"Wifebeater",
    
"Robber",
    
"Bank Heister",
    
"Hitman",
    
"Rapist",
    
"Computer Hacker",
    
"Identity Thief"

But it gave me an error saying initialization data exceeds declared size, and I also tried defining it as 8. So I changed it to
PHP Code:
#define MAX_REASONS    7

new const sz_Reasons[MAX_REASONS][] = {
    
"Wifebeater",
    
"Robber",
    
"Bank Heister",
    
"Hitman",
    
"Rapist",
    
"Computer Hacker",
    
"Identity Thief"

Is that correct, the double array? Or should I change it to something different?
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
 



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 07:25.


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