How to create structure with dynamic memory?
for example, how to create this structure in AMXX:
Code:
? |
Re: How to create structure with dynamic memory?
|
Re: How to create structure with dynamic memory?
But how to create dynamic array of structures inside another structure ?
as Code:
struct str1 |
Re: How to create structure with dynamic memory?
Use a dynamic array handle in the structure.
|
Re: How to create structure with dynamic memory?
PHP Code:
|
Re: How to create structure with dynamic memory?
Quote:
new var [ struct1 ] This is dynamic array of struct1 ? :) |
Re: How to create structure with dynamic memory?
No, 'var' is now a single instance of struct1. You'd have to create another dynamic array using ArrayCreate().
|
All times are GMT -4. The time now is 09:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.