WFIFOHEAD(RFIFOW(fd,2),8);
WFIFOB(RFIFOW(fd, 2), 0) = '\xAA';
WFIFOB(RFIFOW(fd, 2), 1) = '\x00';
WFIFOB(RFIFOW(fd, 2), 2) = '\x05';
WFIFOB(RFIFOW(fd, 2), 3) = '\x02';
WFIFOB(RFIFOW(fd, 2), 4) = '\x17';
WFIFOB(RFIFOW(fd, 2), 5) = '\x00';
WFIFOB(RFIFOW(fd, 2), 6) = '\x00';
WFIFOB(RFIFOW(fd, 2), 7) = '\x00';
This is a hex value, a value written in hexadecimal.
the \x seems to escape the hexadecimal value in the language.
You must be registered to see links
why ??int k='5887 ';
if(k=16ff){
cout<<"yeah"<<endl;
}
yeah i know but why use that type why dant use directely the value in Decimal
like
why ??