I am programming en Visual C++ .NET. I have an unsigned char array, and I need to cast it to a struct that I created. The struct I defined is the following:
struct datagramaIP {
unsigned int longCabecera:4;
unsigned int version:4;
unsigned int tipoServicio:8;
unsigned int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.