devxlogo

September 14, 2012

Ten Top PaaS Trends

Researchers at Frost & Sullivan say that platform as a service (PaaS) will be the next big area of competition for cloud computing providers. That could lead to rapid changes

converting a 64 bit number from little indian to big indian

#includelong long int INT_little_endian_TO_big_endian(long long int i){ return (((i&0xff)8)&0xff000000)|((i24)&0xff0000)|((i40)&0xff00)|((i56)&0xff));}int main(){ long long int num = 1,rev; if(*(char *)&num == 1) //if num is odd,compare with 1 other wise compare with

converting a 64 bit number from little indian to big indian

#includeint INT_little_endian_TO_big_endian(int i){ return ((i&0xff)8)&&0xff000000)8)|((i24)&ff0000)|((i40)&ff00)|((i56)&ff)}int main(){int num = 1,rev; if(*(char *)&num == 1) //if num is odd,compare with 1 other wise compare with 0{ printf(” Little-Endian “);}else { printf(“Big-Endian “);}rev=INT_little_endian_TO_big_endian(num);printf(“%d