Raised This Month: $ Target: $400
 0% 

Initialization data exceeds declared size


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Rexonspix
Junior Member
Join Date: Oct 2005
Location: Denmark
Old 08-01-2009 , 08:11   Initialization data exceeds declared size
Reply With Quote #1

Hello.

I'm getting this error "Initialization data exceeds declared size", and I can't figure out, what I am doing wrong.

First I have this declared:
Code:
new jobPoliceRank[7] = { "Officer", "Detective", "Sergeant", "Lieutenant", "Major", "Inspector", "Sheriff" };
and later I have:
Code:
new rank[256];

rank[255] = jobPoliceRank[1];
Rexonspix 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 18:26.


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