Cocos2d-X游戏【泰然网《跑酷》】JS到C++移植 配套教材完整版代码 素材来源于泰然网的跑酷游戏
2023-12-07 08:01:16 2.69MB cocos2d-x 游戏开发
1
C++ boost::asio编程-异步TCP 大家好,我是异步方式 和同步方式不同,我从来不花时间去等那些龟速的IO操作,我只是向系统说一声要做什么,然后就可以做其它事去了。如果系统完成了操作, 系统就会通过我之前给它的回调对象来通知我。 在ASIO库中,异步方式的函数或方法名称前面都有“async_ ” 前缀,函数参数里会要求放一个回调函数(或仿函数)。异步操作执行 后不管有没有完成都会立即返回,这时可以做一些其它事,直到回调函数(或仿函数)被调用,说明异步操作已经完成。 在ASIO中很多回调函数都只接受一个boost::system::error_code参数,在实际使用时肯定是不够
2023-12-07 01:09:54 57KB asio io
1
C++仿写wavelet分解去噪方法
2023-12-06 09:40:22 22KB
1
LL1 文法分析 程序 可以通过此程序 实现简单的 如:i+i*i 这些文法的LL1 分析过程!
2023-12-06 08:04:56 24KB
1
Visual C++数据库开发经典实例精解,并包含本书所有实例的源代码和数据库等。
2023-12-06 08:04:08 19.65MB Visual C++数据库开发经典实例精解
1
由VS2008 MFC编写的一个简单的全屏截图软件的源代码,给大家参考一下。
2023-12-06 08:03:14 130KB 屏幕截图软件
1
数据结构C++(殷人昆)代码. 数据结构C++(殷人昆)代码.
2023-12-06 08:02:42 106KB 数据结构C++(殷人昆)代码.rar
1
看到一个不错的c++实现的md5算法 class MD5 { public: typedef unsigned int size_type; // must be 32bit MD5(); MD5(const std::string& text); void update(const unsigned char *buf, size_type length); void update(const char *buf, size_type length); MD5& finalize(); std::string hexdigest() const; friend std::ostream& operator<<(std::ostream&, MD5 md5); private: void init(); typedef unsigned char uint1; // 8bit typedef unsigned int uint4; // 32bit enum {blocksize = 64}; // VC6 won't eat a const static int here void transform(const uint1 block[blocksize]); static void decode(uint4 output[], const uint1 input[], size_type len); static void encode(uint1 output[], const uint4 input[], size_type len); bool finalized; uint1 buffer[blocksize]; // bytes that didn't fit in last 64 byte chunk uint4 count[2]; // 64bit counter for number of bits (lo, hi) uint4 state[4]; // digest so far uint1 digest[16]; // the result // low level logic operations static inline uint4 F(uint4 x, uint4 y, uint4 z); static inline uint4 G(uint4 x, uint4 y, uint4 z); static inline uint4 H(uint4 x, uint4 y, uint4 z); static inline uint4 I(uint4 x, uint4 y, uint4 z); static inline uint4 rotate_left(uint4 x, int n); static inline void FF(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac); static inline void GG(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac); static inline void HH(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac); static inline void II(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac); }; std::string md5(const std::string &str);
2023-12-06 08:01:50 5KB md5
1
VS2010 C++学习(2):BMP图像文件的结构分析、反色处理、平滑处理代码
2023-12-06 08:01:13 1.65MB VS2010 图像处理
1
VS2010 C++学习(1):滚动条的设计总结程序
2023-12-06 08:00:46 203KB VS2010
1