04-17-2009 01:08 PM
thanks...what is that structure u use in Memory Allocation example ? (the most inner one )
04-17-2009 01:10 PM - edited 04-17-2009 01:15 PM
Wayne.C wrote:If one needs to demonstrate how to initialize an array of a given size with a predetermined constant and then demonstrate how to replace values of that array, I suppose my way works. Assignment?
Good Call. In case it is an assignment, let me show you one way to do this with a While Loop:
While loops don't know how many times they will execute, so their first estimate is 16 iterations. If the loop goes for more than 16, then it doubles to 32, and then to 64. After that it adds 64 iterations whenever more are needed.
04-17-2009 01:13 PM - edited 04-17-2009 01:13 PM
zmuccelmic wrote:thanks...what is that structure u use in Memory Allocation example ? (the most inner one )
That is the in place element structure:
04-17-2009 01:17 PM
Thank you guys !
The problem i had was with the shift registers. Didn't knew how to use them.
Thanks again
04-17-2009 01:29 PM
04-17-2009 01:35 PM