First things first: Happy New Year and best of wishes for 2008!
Now back to our regularly scheduled programming: perhaps
the following question is an FAQ but Google doesn't seem to
be of that opinion.
How does one zeroes out non integer entries in the associative
array? Suppose I have the following:
struct foo {
int bar;
string goo;
} foo_records[int];
and I want to release the memory occupied by foo_records[25].
Do I have to zero out each individual member
foo_records[25].bar = 0;
foo_records[25].goo = "";
or is there a better way?
And by the way, am I correct in assuming that the way to
zero out strings is, indeed:
foo_records[25].goo = ""
?
Thanks,
Roman.
_______________________________________________
dtrace-discuss mailing list
[email protected]