自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (8)
  • 收藏
  • 关注

原创 告诫自己

1、是否因为走的太快而忘了思考,才会有这种没有没有目的性的行走,因而才会有迷茫?2、在浮躁什么,能不能先放缓自己的脚步,认真对待目前你要做的事情?3、有些事情的答案是肯定的,需要谨记,有些事情的答案是模糊的,凭心判断。4、有条不紊、按部就班、循序渐进、莫要急躁,有些事急不来,与其急躁而无所事事,不如先静下心做好眼前事。

2012-11-03 20:18:27 406

转载 VS2005+WDK7600开发环境配置

VS2005+WDK7600开发环境1、设定环境目录  选择“工具->选项->项目和解决方案->VC++目录”在右侧平台选择“win32”。  1)、“包含文件”中添加:    C:\WINDDK\7600.16385.0\inc\wdf\kmdf\1.9    C:\WINDDK\7600.16385.0\inc\api(注:此头文件要位于$(VCInstallDir)P

2012-08-30 16:40:21 660

原创 关于内存对齐

这是一篇对内存对齐分析的好文章 转载:http://bigwhite.blogbus.com/logs/1347304.html        我们涉及到了“内存对齐”技术。对于大部分程序员来说,“内存对齐”对他们来说都应该是“透明的”。“内存对齐”应该是编译器的“管辖范围”。编译器为程序中的每个“数据单元”安排在适当的位置上。但是C语言的一个特点就是太灵活,太强大,它允许你干预“内存对齐

2011-12-09 10:52:41 432 1

原创 __cdecl调用 和_stdcall调用

__cdecl 是C DECLaration的缩写(declaration,声明),表示C语言默认的函数调用方法:所有参数从右到左依次入栈,这些参数由调用者清除,称为手动清栈。被调用函数不会要求调用者传递多少参数,调用者传递过多或者过少的参数,甚至完全不同的参数都不会产生编译阶段的错误。 _stdcall 是StandardCall的缩写,是C++的标准调用方式:所有参数从右到左依次入栈,如果是

2011-12-06 13:45:02 568

转载 关于对数组名取地址

对数组名取地址是什么?Code highlighting produced by Actipro CodeHighlighter (freeware)1 int array[100];2 3 memset(array,  0, sizeof(array));4 memset(&array, 0, sizeof(array));第3行和第4行有什么不同吗?

2011-11-23 14:44:10 516

jsonlib和所有依赖库

jsonlib2.4 和其所有的依赖库,亲测通过,希望给大家提供便利,互利共赢

2017-10-10

Linux_C编程

Linux 学习资源,很好,很适合初学者,建议大家下载收藏。

2013-05-10

设置java环境变量

做java开发或者测试可能遇到一个系统上安装多个版本jdk,手动修改环境变量实在是太麻烦了,做了个小工具方便大家切换不同版本的jdk,并方便设置java环境变量使用。

2012-12-10

AssistX10.6.1822

AssistX10.6.1822很强大的vc插件,方便大家下载,我看有的人要10分资源分,我觉得他们很搞笑,就要1分了,因为我也要下其他东西,还望大家谅解啊。

2011-09-07

log4cpp源码 供参考学习用

很好很强大的log4cpp源码文件,供大家参考学习,因为需要下载别人的东西,所以要点分向大家,如果实在没分想学习,告诉我邮箱我发给你

2011-06-02

3DES标准算法库方便实现加解密

#ifdef __cplusplus extern "C" { #endif /** * \brief DES context structure */ typedef struct { unsigned long esk[32]; /*!< DES encryption subkeys */ unsigned long dsk[32]; /*!< DES decryption subkeys */ } des_context; /** * \brief Triple-DES context structure */ typedef struct { unsigned long esk[96]; /*!< Triple-DES encryption subkeys */ unsigned long dsk[96]; /*!< Triple-DES decryption subkeys */ } des3_context; /** * \brief DES key schedule (56-bit) * * \param ctx DES context to be initialized * \param key 8-byte secret key */ void my_des_set_key( des_context *ctx, unsigned char key[8] ); /** * \brief DES block encryption (ECB mode) * * \param ctx DES context * \param input plaintext block * \param output ciphertext block */ void des_encrypt( des_context *ctx, unsigned char input[8], unsigned char output[8] ); /** * \brief DES block decryption (ECB mode) * * \param ctx DES context * \param input ciphertext block * \param output plaintext block */ void des_decrypt( des_context *ctx, unsigned char input[8], unsigned char output[8] ); /** * \brief DES-CBC buffer encryption * * \param ctx DES context * \param iv initialization vector (modified after use) * \param input buffer holding the plaintext * \param output buffer holding the ciphertext * \param len length of the data to be encrypted */ void my_des_cbc_encrypt( des_context *ctx, unsigned char iv[8], unsigned char *input, unsigned char *output, int len ); /** * \brief DES-CBC buffer decryption * * \param ctx DES context * \param iv initialization vector (modified after use) * \param input buffer holding the ciphertext * \param output buffer holding the plaintext * \param len length of the data to be decrypted */ void my_des_cbc_decrypt( des_context *ctx, unsigned char iv[8], unsigned char *input, unsigned char *output, int len ); /** * \brief Triple-DES key schedule (112-bit) * * \param ctx 3DES context to be initialized * \param key 16-byte secret key */ void des3_set_2keys( des3_context *ctx, unsigned char key[16] ); /** * \brief Triple-DES key schedule (168-bit) * * \param ctx 3DES context to be initialized * \param key 24-byte secret key */ void des3_set_3keys( des3_context *ctx, unsigned char key[24] ); /** * \brief Triple-DES block encryption (ECB mode) * * \param ctx 3DES context * \param input plaintext block * \param output ciphertext block */ void des3_encrypt( des3_context *ctx, unsigned char input[8], unsigned char output[8] ); /** * \brief Triple-DES block decryption (ECB mode) * * \param ctx 3DES context * \param input ciphertext block * \param output plaintext block */ void des3_decrypt( des3_context *ctx, unsigned char input[8], unsigned char output[8] ); /** * \brief 3DES-CBC buffer encryption * * \param ctx 3DES context * \param iv initialization vector (modified after use) * \param input buffer holding the plaintext * \param output buffer holding the ciphertext * \param len length of the data to be encrypted */ void des3_cbc_encrypt( des3_context *ctx, unsigned char iv[8], unsigned char *input, unsigned char *output, int len ); /** * \brief 3DES-CBC buffer decryption * * \param ctx 3DES context * \param iv initialization vector (modified after use) * \param input buffer holding the ciphertext * \param output buffer holding the plaintext * \param len length of the data to be decrypted */ void des3_cbc_decrypt( des3_context *ctx, unsigned char iv[8], unsigned char *input, unsigned char *output, int len ); /* * \brief Checkup routine * * \return 0 if successful, or 1 if the test failed */ int des_self_test( void ); #ifdef __cplusplus } #endif #endif /* des.h */

2011-06-02

高质量C++编程指南

去了一家公司面试,给我面试题,做完之后感触很深,但后来发现原来是这本书里面的,我觉得很好,推荐给大家,我也需要用分下其他东西,所以分多的借我点用,谢了大家。

2011-05-19

局域网语音聊天工具源码

windows 下底层函数的多媒体编程,实现局域网间语音通信,播放流畅。实现是用windows api底层函数编写比如WaveInStart等该类函数写成。 使用过程中一方作为客户端,一方作为服务端进行连接通信。局域网可以实现,当时由于没有采用P2P技术,在广域网之间进行通讯没有实现。

2009-10-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除