自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wzb56的资料库

记录过往,方便资料的查找!

  • 博客(12)
  • 资源 (20)
  • 收藏
  • 关注

原创 c++中的placement new

#include using namespace std;struct base { int i; virtual void f(){ cout << "in base calss" << endl; }};struct derived : base { int j; void f() { cout << "in

2013-04-08 22:06:55 947

原创 单词加密

#include #include #include #include #define MAX_LEN 1000000static int f(int i);static int index(int c);void encrypt(char *str);char str_buffer[MAX_LEN];int main(int argc, char *argv[]){

2013-04-08 22:02:31 1594

原创 C++中的拷贝构造函数和赋值操作符

#include using namespace std;class base { private: int a; public: base(int x=0):a(x) { cout<< "base construct function:" << a << endl; } base(const base &b){

2013-04-08 21:48:57 895

原创 c++中的const

#include #include using namespace std;const int size = 100;int main(){ // size = 10; //error: assignment of read-only variable 'size' // int *ptr_size = &size; //error: invalid conversion

2013-04-08 21:40:13 963

原创 一个典型的内存泄露程序

好像能将Linux卡死,windows却毫无压力。#include #include #define UNIT 1024*1024 int main(int argc, char * argv[] ) { int i; int j; int k; int * ptr;while(1) { for(i=0; i<1024; i

2013-04-08 21:35:34 1011

原创 C++中<< 运算符的计算顺序

#include using namespace std;template void swap(T &a, T &b) { T temp(a); a = b; b = temp;}template T add(const T &a, const T &b) { return a + b;}int main(){ cout << "

2013-04-08 21:25:36 1332

原创 C++中的置换实现全排列,参照标准模板库中置换

#include #include #include #include using namespace std;void swap(int *a, int *b);void reverse(int *begin, int *end);void printRange(int *begin, int *end);bool int_next_permutation(int *

2013-04-08 20:59:58 1082

原创 c++中class与struct的区别

C++中:1.class中成员的默认访问权限是private,struct中的成员的默认访问权限是public。2. class的默认继承方式是private, struct 的默认继承方式是public。#include using namespace std;struct A { int a;};struct B : A { //等价于 struct B :

2013-04-08 20:24:20 953

原创 求某一天是星期几以及记时

c语言中的time相关函数:#include #include #include using namespace std;void printlocaltime();int main(){ time_t rawtime; struct tm *timeinfo; int year, month, day; char *weekday[] = { "Sunda

2013-04-08 20:14:43 1151

原创 cpp中typeid

cpp中typeid举例:#include #include //for 'typeid'using namespace std;class Person {public: // ... Person members ... virtual ~Person() {}};class Employee : public Person { // ... Em

2013-04-08 20:02:35 1304

原创 C++中的sizeof

C++中sizeof返回对象的所占空间的字节数。#include #include using namespace std;int main(int argc, char *argv[]){ string strArr1[] = {"Trend", "Micro", "soft"}; string *p = new string[2]; p[0]= "US"

2013-04-08 19:53:57 943

原创 统计文章中词的词频

统计文章中的单词的词频,可以使用C++中Map来实现。1.统计从标准输入输入的单词的词频。#include #include #include using namespace std;int main(int argc, char *argv[]) { string s; map counter; while(cin >> s) { if(s[0] =

2013-04-08 19:31:14 1684

Verilog HDL IEEE Std 1364-2001

Verilog HDL IEEE Std 1364-2001 Verilog HDL IEEE Std 1364-2001 Verilog HDL IEEE Std 1364-2001 Verilog HDL IEEE Std 1364-2001 Verilog HDL IEEE Std 1364-2001 Verilog HDL IEEE Std 1364-2001

2012-11-22

Verilog IEEE Std 1364-2001

Verilog IEEE Std 1364-2001

2012-11-21

系统程序员成长计划

系统程序员成长计划、作者讲述了一C语言系统的程序员的成长。 好书,要分享喽!!!

2012-04-19

基于stm32的spi操纵NRF905SE的C语言api 源码包

基于stm32的spi操纵NRF905SE的C语言api 源码包

2012-02-09

RSA:原理及应用和攻击ppt.pdf

RSA:原理及应用和攻击t.pdf

2012-01-05

The Mathematics of the RSA Public-Key Cryptosystem

The Mathematics of the RSA Public-Key Cryptosystem :RSA公钥加密的数学原理及历史 The Mathematics of the RSA Public-Key Cryptosystem :RSA公钥加密的数学原理及历史 The Mathematics of the RSA Public-Key Cryptosystem :RSA公钥加密的数学原理及历史

2012-01-05

RSA_theory :RSA的数学原理

RSA_theory :RSA的数学原理 最为经典的RSA原理讲解 最为经典的RSA原理讲解 最为经典的RSA原理讲解 最为经典的RSA原理讲解 最为经典的RSA原理讲解

2012-01-05

stm32f10x_fw_archive.zip

stm32f10x_fw_archive.zip stm32f10x_fw_archive.zip stm32f10x_fw_archive.zip stm32f10x_fw_archive.zip stm32f10x_fw_archive.zip stm32f10x_fw_archive.zip stm32f10x_fw_archive.zip

2012-01-02

STM32F10x参考手册

STM32F10x参考手册

2012-01-02

STM32F10X在Keil MDK环境下在RAM中调试的设置方法.pdf

STM32F10X在Keil MDK环境下在RAM中调试的设置方法.pdf STM32F10X在Keil MDK环境下在RAM中调试的设置方法.pdf STM32F10X在Keil MDK环境下在RAM中调试的设置方法.pdf STM32F10X在Keil MDK环境下在RAM中调试的设置方法.pdf

2012-01-02

STM32单片机快速入门V1.0.pdf

STM32单片机快速入门V1.0.pdf

2012-01-02

stm32f10x标准固件库的帮助文档(stm32f10x_stdperiph_lib_um.chm)

stm32f10x标准固件库的帮助文档(stm32f10x_stdperiph_lib_um.chm) stm32f10x标准固件库的帮助文档(stm32f10x_stdperiph_lib_um.chm) stm32f10x标准固件库的帮助文档(stm32f10x_stdperiph_lib_um.chm) stm32f10x标准固件库的帮助文档(stm32f10x_stdperiph_lib_um.chm) stm32f10x标准固件库的帮助文档(stm32f10x_stdperiph_lib_um.chm)

2012-01-02

软件工程课件以及复习资料

软件工程课件以及复习资料 包括,课件以及课后题答案,还有一些练习。 包括,课件以及课后题答案,还有一些练习。

2009-07-06

CSS 30分钟速成教程

CSS 30分钟速成教程。。。。。。。。。。。。。。。。。

2009-04-10

破解BIOS密码的几种方法

破解BIOS密码的几种方法。。。。。。。。。。。。。

2009-04-10

VB期末试卷及答案3份

Vb期末是试卷。对考试很有用的。 精心整理的答案,费了很长时间。

2009-01-07

MySQL中文参考手册-chm格式┊Mysql官方权威教程.rar

MySQL是一个精巧的SQL数据库管理系统,虽然它不是开放源代码的产品,但在某些情况下你可以自由使用。由于它的强大功能、灵活性、丰富的应用编程接口(API)以及精巧的系统结构,受到了广大自由软件爱好者甚至是商业软件用户的青睐,特别是与Apache和PHP/PERL结合,为建立基于数据库的动态网站提供了强大动力。 MySQL有瑞典的T.c.X公司负责开发和维护,MySQL的用户手册很单纯,只有一个集中的<MySQL Reference Manual>,但其内容覆盖了MySQL的所有信息,因此该手册是了解和掌握MySQL的绝佳文献。 虽然对MySQL的开发不能出一份力,但可为它的推广使用尽一份心,面对500多页的参考手册,知道要精确译出它决非易事,但愿几个月的心血能为大家提供一丝微薄的帮助。

2008-12-03

空空如也

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

TA关注的人

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