J
Jung, William
I have a function that convert a string to binary, where
- string is the string needs to convert to binary.
- binary is the BYTE array to hold the converted data
StringtoBinary( LPCSTR string, BYTE *binary)
Since BYTE is a pointer to BYTE, do I need to use new operator to
allocate space / storage (dynmaic allocation)?
- string is the string needs to convert to binary.
- binary is the BYTE array to hold the converted data
StringtoBinary( LPCSTR string, BYTE *binary)
Since BYTE is a pointer to BYTE, do I need to use new operator to
allocate space / storage (dynmaic allocation)?