- 博客(5)
- 资源 (1)
- 论坛 (3)
- 收藏
- 关注
原创 汇编完成strlen
int strlen2(const char * str){ if (str == NULL) { return 0; } __asm { mov ebx , str } while(*str++ != '\0')
2011-07-27 15:41:28
679
原创 同步机制
Critical Section Critical section (临界区)用来实现“排他性占有”。适用范围是单一进程 的各线程之间。它是:
2011-07-07 10:47:24
345
原创 使用宏来生成类模板
templeteCalc.h template class Calc { public: Calc(T Oper1, T Oper2):m_Oper1(Oper1),m_Oper2(Oper2){} virtual ~Calc(){} virt
2011-07-05 16:09:32
388
原创 从一块地址起,查看第N位开始的N位的值
U32 Read( U8 *ps, U8 startBit, U8 length ){ U8 *temp = ps; const U8 BITS = 8; U32 result = 0; U32 currBits = 0; while (currBits != length) { U8
2011-06-28 15:38:00
394
原创 大数相乘
#include using namespace std;char *multy(char *a,char *b){ int alen=strlen(a),blen=strlen(b); char *result; int temp=0,temp1; result=new char[alen+blen+1]; int k=0,j=0,i=0; for( k=
2010-04-13 17:42:00
544
虚拟摄像头问题
发表于 2016-06-17 最后回复 2016-06-17
基于时间约束的物流车辆调度算法研究与实现
发表于 2010-05-23 最后回复 2016-06-17
各位高手 如何得到执行sql后的消息啊
发表于 2009-12-21 最后回复 2016-06-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝