- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 how to extend C style IO to user defined types
the other day, we had to extend C style IO to use defined types. Let the code says how we made that work#include#include #include #include #include typedef struct tagProcessor{ char name[32
2013-03-26 14:43:51 685
原创 integer addition in terms of bit operators, just for fun
#define SIZE_OF_INT 4#if SIZE_OF_INT == 4int add(unsigned int a, unsigned int b){ //implement integer addition with bit operators, just for fun unsigned int c = 0, result = 0; //the looking
2013-03-26 10:37:27 616
原创 C++ code to verify IEEE 754 double precision floating-point format
As the title says, let the code talk.//feel free to use it in your project with nothing guaranteed//mail to: bruceadi(at)hotmail.com //to verity Double-precision floating-point format, see the l
2013-03-10 18:43:55 1124
原创 a utility for compressing messages to be shared among processes
Data shared among processes could be limited to integers and strings. Other types could be present with these two types.1. A floating value could be presented in the form of mantissa and expon
2013-03-09 00:54:04 640
原创 a simple function for memory dumping
//feel free to use it in your project with nothing guaranteed//mail to: bruceadi(at)hotmail.com #include //assumption:// f is allowed to write,// memory block [bytes, bytes+ len) is a acc
2013-03-08 14:38:31 840
cppCon 2014 ppt 第三部分
2015-01-04
cppCon 2014 ppt 第二部分
2015-01-04
cppCon 2014 ppt 第一部分
2015-01-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人