Raised This Month: $ Target: $400
 0% 

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: eyal282
Forum: Code Snippets/Tutorials 06-29-2017, 11:26
Replies: 46
Views: 34,786
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, 09:38
Replies: 46
Views: 34,786
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 11:44.


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