Raised This Month: $ Target: $400
 0% 

Multidimensional array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 11-16-2014 , 14:02   Re: Multidimensional array
Reply With Quote #5

There is how it looks added one more dimension

PHP Code:
new const g_szNames[][][] =
{
    { 
"1 First""1 Second""1 Third""1 Fourth""" },
    { 
"2 First""2 Second""""" },
    { 
"3 First""3 Second""3 Third""3 Fourth""3 Fiveth" }
}; 
It is possible to prevent that ""? Because without them I am getting

Quote:
error 052: multi-dimensional arrays must be fully initialized
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
 



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 17:42.


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