I have what I thought should be a very simple snippet of code to write, though I\'m unable to compile for a reason which I do not understand.
The following simplifie
because the compiler can't implicitly convert char()[] to char. So you need explicit type conversion
char buffer[9] = "12345678"; char* pBuffer = (char*)&buffer;