Raised This Month: $ Target: $400
 0% 

Out of Bounds formatex


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-20-2009 , 00:24   Re: Out of Bounds formatex
Reply With Quote #3

The function I'm passing it to requires ItemsNames to be two-dimensional -- sometimes I pass in more than one name (NumItems).

PHP Code:
AddItems(id,NumItems,Items[],ItemsNames[][],ItemsModels[][])
{
...

And here's another excerpt from another function right before it calls AddItems (this does not go out of bounds):

PHP Code:
new ItemsNames[1][33]
...
formatex(ItemsNames[0],32,"%s",Temp
__________________

Last edited by Bad_Bud; 08-20-2009 at 00:30.
Bad_Bud 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 15:09.


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