J
Jim Langston
For some code I copied off of MSDN it uses the Cism of
OPENFILENAME ofn;
ZeroMemory(&ofn, sizeof(ofn));
I was wondering if
OPENFILENAME ofn = OPENFILENAME();
is equivalent for all cases of a structure?
Would this also asign pointers a value of NULL (which this structure does
use, pointers).
Or should I just stick with the Cism of ZeroMemory for a structure that can
be used in C and C++
OPENFILENAME ofn;
ZeroMemory(&ofn, sizeof(ofn));
I was wondering if
OPENFILENAME ofn = OPENFILENAME();
is equivalent for all cases of a structure?
Would this also asign pointers a value of NULL (which this structure does
use, pointers).
Or should I just stick with the Cism of ZeroMemory for a structure that can
be used in C and C++