Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: eyal282
Forum: Code Snippets/Tutorials 06-29-2017, 10:26
Replies: 46
Views: 37,919
Posted By eyal282
Re: [ TUT ]Dynamic Array

I can't set the length of "static_array" into a variable, which is why I must use a dynamic array.



Any better methods I can use for such purpose? Or in general read_file is a bad idea?
Forum: Code Snippets/Tutorials 06-29-2017, 08:38
Replies: 46
Views: 37,919
Posted By eyal282
Re: [ TUT ]Dynamic Array

I'm trying to use a dynamic array with read_file.

Something like that:


new Array:Text = ArrayCreate(TextLength);

while(Line >= 0)
{
read_file(File, Line--, Text, TextLength, txtlen);
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 04:11.


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