global alloc and numeric arrays 
Author Message
 global alloc and numeric arrays

I'm presently using code in a DLL with an upper limit on the array size.
This allows simple assignments and runs very fast. eg.

int     ndx[N_MAX]



Looking at global_alloc and the uSoft documentation, it seems there is no
way to replace this code without using manual indexing.

Am I missing something? Does anyone have a recommendation as to the
fasted method for a replacement?



Fri, 01 May 1998 03:00:00 GMT  
 global alloc and numeric arrays
Never mind, I found it:

Type casting for global alloc takes place with the global lock. From
there it was easy.

Thanks anyway,


Fri, 01 May 1998 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. is there a better way than Global Alloc?

2. Dynamic Alloc - Arrays

3. non-local pointers to c(m)alloc'ed arrays

4. HELP: ways to alloc multidimensional arrays

5. How access alloc'ed string as array?

6. HELP: Dynamically Alloc'd array

7. (*)alloc for large arrays?

8. Global array of structures

9. Global constant arrays -- where to put them?

10. Array Passing and Global Pointers?


Powered by phpBB® Forum Software