Raised This Month: $ Target: $400
 0% 

dynamic array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hypheni
Senior Member
Join Date: Jul 2011
Location: India
Old 01-19-2013 , 01:14   dynamic array
Reply With Quote #1

May be this question has asked before a few times, but I have not found anything useful.

What I'm doing is reading users.ini file and storing admins name and id in double dimension array. Now I cant assign array size for number of admins in the file (ie: No of lines in users.ini). I have to calculate the number of lines in the file first and then create that size of array.

In C I've done this with malloc but that is not supported by PAWN. Instead of hardcoding users.ini max line can it be done anyway ?
hypheni is offline
Send a message via Skype™ to hypheni
 



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 13:26.


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