H
HackerisNewKnight
Hello,
1) First problem.
In my project i need to convert from char* to BYTE*( BYTE is unsigned
char),
is there any way to make the convertion?
BYTE* bite;
char* ch="help me, please";
bite = (BYTE*)ch; ? is this not right? what shoul i do here?
2) Second Problem
I defined array of WORD in c++;
WORD ar[7];
when how i can give it default value?
default values must be NULL(or zero).
i mean the arrays addres must be clean, must be NULL,
how should i do for it?
thanks
1) First problem.
In my project i need to convert from char* to BYTE*( BYTE is unsigned
char),
is there any way to make the convertion?
BYTE* bite;
char* ch="help me, please";
bite = (BYTE*)ch; ? is this not right? what shoul i do here?
2) Second Problem
I defined array of WORD in c++;
WORD ar[7];
when how i can give it default value?
default values must be NULL(or zero).
i mean the arrays addres must be clean, must be NULL,
how should i do for it?
thanks