[ create a new paste ] login | about

Link: http://codepad.org/Q3j0R20U    [ raw code | output | fork ]

C++, pasted on Jan 14:
1
2
3
4
5
6
#include <cstdio>
int main() {
	unsigned int rgba = 0xaabbccdd;
	unsigned int argb = ((rgba >> 8) | (rgba << 24));
	printf("%x\n", argb);
}


Output:
1
ddaabbcc


Create a new paste based on this one


Comments: