M
mcassiani
Hi, again
I have readed the answare, I don't like it.
What do you think about this solutions? obiusly it works
only for dynamic allocated data.
class{
int a1;
..
...
int a100
char v1[100]
...
char v100[100]
void *operator new(size_t size){
void *ptr=malloc(size);
memset(ptr,0,size);
return ptr;
}
}
MarcoC
I have readed the answare, I don't like it.
What do you think about this solutions? obiusly it works
only for dynamic allocated data.
class{
int a1;
..
...
int a100
char v1[100]
...
char v100[100]
void *operator new(size_t size){
void *ptr=malloc(size);
memset(ptr,0,size);
return ptr;
}
}
MarcoC