C
Curious
Hi,
I have created my own data structure. Basically it is a two way
'stack', where I can push elements and pop elements both from top and
bottom. I also included a counter to show the number of elements
currently on the data structure.
I need to calculate the size in bytes of this datastructure content at
a certain time. What I am pushing on this datastructure is the same
class instances but with different values.
How can I achieve this.
Thanks in Advance
I have created my own data structure. Basically it is a two way
'stack', where I can push elements and pop elements both from top and
bottom. I also included a counter to show the number of elements
currently on the data structure.
I need to calculate the size in bytes of this datastructure content at
a certain time. What I am pushing on this datastructure is the same
class instances but with different values.
How can I achieve this.
Thanks in Advance