Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/04/02 17:18
Read: times


 
#33769 - RE: Or, inline assembler:
I've never tried this so don't scald me but:
why not get a pointer to the first entry of the array ,then assign 0 to all the allocated space using a for loop,incrementing the pointer as you go.
so for a [10] [10] array of int's you should have 200 iterations.
(I am assuming that the array is contiguous)

List of 11 messages in thread
TopicAuthorDate
Intialising arrays            01/01/70 00:00      
RE: Intialising arrays            01/01/70 00:00      
RE: Intialising arrays            01/01/70 00:00      
RE: Intialising arrays            01/01/70 00:00      
RE: Intialising arrays            01/01/70 00:00      
RE: Intialising arrays            01/01/70 00:00      
Or, inline assembler:            01/01/70 00:00      
RE: Or, inline assembler:            01/01/70 00:00      
RE: Or, inline assembler:            01/01/70 00:00      
Rob, that is precisely what to do            01/01/70 00:00      
RE: Or, inline assembler:            01/01/70 00:00      

Back to Subject List