Hello there,
I am programming a little tool to switch on/off a projector via PJLINK. I have a Class Projector, which does all the network stuff. However, this class needs the IP adress of the projector as an array of four bytes, but when I just do this like this:
this is the Error I get:"incompatible types in assignment of 'byte* {aka unsigned char*}' to 'byte [0] {aka unsigned char [0]}'"
the variabels are initialized like that
What is the problem with this? I really don't get the point of the message, as I am simply taking an array of bytes and put it into a different array of bytes.
You can copy the data in one array into another array, but NOT by just trying to assign one array to another. A for loop or memcpy() are the solutions.