|
|
вернуться в форумMy favorate answer to this question, but dunno y it is not fast enough. union message { char bytes[4]; unsigned value; void reverse() { swap(bytes[0], bytes[3]); swap(bytes[1], bytes[2]); } }; Re: My favorate answer to this question, but dunno y it is not fast enough. Послано Egor 20 сен 2020 23:23 Wow! That's unexpected =) Re: My favorate answer to this question, but dunno y it is not fast enough. Wonderful! |
|
|