13.11.2018, 14:39
Quote:
I did some not very thorough tests and from what I can see, enumerated arrays generate the same assembly (excluding the line numbers in comments) as their non-enumerated counterparts and there is no trace of the enum itself either. Here's a comparison of my test codes and their generated assemblies: https://www.diffchecker.com/E0TLWHpm
|
So having this enum:
Код:
enum E_TEST { e_val, e_array[10] }; new array[E_TEST];
So writing a string to e_array using strcat would result in something like this:
Код:
strcat(array[1], "mytext", 10);