- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 判断CPU或JVM是大端还是小端的方法——字节数组与整形互转
----------字节数组转为整形C版:/** * Windows 7 32位,CodeBlocks */#include #include /** * 将字节数组(char[])转为整形(int) */int main(){ char chArray[] = {0x78,0x56,0x34,0x12}; int *p = (int *)chArray; p
2012-04-12 20:57:10 4140
转载 Introduction to Endianness(大端小端介绍)
Introduction to EndiannessMichael Barr12/28/2001 10:35 AM ESTFrom: http://www.eetimes.com/discussion/beginner-s-corner/4023889/Introduction-to-Endianness译文:http://blog.csdn.net/xbt746/arti
2012-04-12 20:04:29 1065
原创 常用算法英文名
-----排序算法——sort algorithm插入排序——insertion sort折半插入排序——binary insertion sort, http://xlinux.nist.gov/dads/HTML/binaryinsort.html希尔排序——shell sort选择排序——selection sort堆排序——heap sort归并排序(或合并排序
2012-04-09 19:38:47 5583
Advanced Programming in the UNIX Environment 2nd Edition 英文文字带书签版
2014-05-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人