H
Hipo
Hi.
I have the following code:
unsigned char temporary[160];
unsigned __int64 *reader = (unsigned __int64*)&temporary+20;
std::cout << *reader-- << std::endl;
std::cout << *reader-- << std::endl;
std::cout << *reader-- << std::endl;
The first output and the third output are OK. But the second output
gives me data that doesn't match to any values in the char array.
If I'm doing the same operation from the beginning and incrementing the
pointer all values are read like they should.
I'm really puzzled.
g, Hipo
I have the following code:
unsigned char temporary[160];
unsigned __int64 *reader = (unsigned __int64*)&temporary+20;
std::cout << *reader-- << std::endl;
std::cout << *reader-- << std::endl;
std::cout << *reader-- << std::endl;
The first output and the third output are OK. But the second output
gives me data that doesn't match to any values in the char array.
If I'm doing the same operation from the beginning and incrementing the
pointer all values are read like they should.
I'm really puzzled.
g, Hipo