自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

天涯明月的专栏

我思故我在

  • 博客(7)
  • 资源 (17)
  • 收藏
  • 关注

原创 clock_t与time_t的区别及联系

clock_t" style="margin:0px; float:right; font-family:monospace; position:relative; top:-20px; font-size:12px">Clock typeType capable of representing clock tick counts and support arithmetica

2013-01-10 11:17:56 10696 1

原创 struct tm,time,localtime,mktime,ctime,gmtime,difftime,asctime,strftime

1. struct tmint tm_sec;int tm_min;int tm_hour;int tm_mday;int tm_mon;int tm_year;int tm_wday;int tm_yday;int tm_isdst;MemberMeaningRangetm_secseconds after the mi

2013-01-09 19:13:55 1877

原创 实现string到unsigned int的转换

#include #include using namespace std;//实现string到unsigned int的转换unsigned int string_to_unsigned_int(string str){ unsigned int result(0);//最大可表示值为4294967296(=2‘32-1) //从字符串首位读取到末位(下标由0到str.size

2013-01-09 16:49:39 12538 1

转载 cin、cin.get()、cin.getline()、getline()、gets()等函数的用法

转自:http://hi.baidu.com/kskr/blog/item/cb00cc3deadf45c49f3d6279.html学C++的时候,这几个输入函数弄的有点迷糊;这里做个小结,为了自己复习,也希望对后来者能有所帮助,如果有差错的地方还请各位多多指教(本文所有程序均通过VC 6.0运行)转载请保留作者信息;1、cin1、cin.get()2、cin.g

2013-01-05 18:55:40 568

原创 C++中数组和容器的区别与联系

创建方式:创建数组时必须指定其大小;而容器不必指定,可动态改变其大小。存储方式:数组在内存空间上是连续存储的;而容器中顺序容器vector和deque是连续存储的(deque与vector 不同的是它支持高效地在其首部插入和删除元素),但list是链式存储的。访问效率:访问数组元素时可根据数组下标直接访问相应位置的元素;而容器中顺序容器vector和deque支持对元素

2013-01-05 17:21:55 5246 1

原创 C++中回车换行(\n\r)和换行(\r)的区别

windows下的点一下回车,效果是:回车换行,就是\r\nunix系统下的回车一下就是一个\n给出如下代码:#include using namespace std;int main(){ cout << "this is the first line\n"; cout << "this is the second line\r"; cout << "this is

2013-01-02 11:36:18 144017 12

原创 1041:Computer Transformation

Problem DescriptionA sequence consisting of one digit, the number 1 is initially written into a computer. At each successive time step, the computer simultaneously tranforms each digit 0 into the

2013-01-02 10:39:49 900

《算法导论》原版英文课件12

Lecture 12 Skip Lists.pdf

2012-07-23

《算法导论》原版英文课件11

Lecture 11 Augmenting Data Structures, Dynamic Order Statistics, Interval Trees.pdf

2012-07-23

《算法导论》原版英文课件10

Lecture 10 Red-black Trees, Rotations, Insertions, Deletions.pdf

2012-07-23

《算法导论》原版英文课件9

Lecture 9 Relation of BSTs to Quicksort - Analysis of Random BST.pdf

2012-07-23

《算法导论》原版英文课件8

Lecture 8 Universal Hashing, Perfect Hashing.pdf

2012-07-23

《算法导论》原版英文课件7

Lecture 7 Hashing, Hash Functions.pdf

2012-07-23

《算法导论》原版英文课件5

Lecture 5 Linear-time Sorting Lower Bounds, Counting Sort, Radix Sort.pdf

2012-07-23

《算法导论》原版英文课件6

Lecture 6 Order Statistics, Median.pdf

2012-07-23

《算法导论》原版英文课件4

Lecture 4 Quicksort, Randomized Algorithms.pdf

2012-07-23

《算法导论》原版英文课件3

Lecture 3 Divide-and-Conquer Strassen, Fibonacci, Polynomial Multiplication.pdf

2012-07-23

《算法导论》原版英文课件1

Lecture 1 Administrivia; Introduction; Analysis of Algorithms, Insertion Sort, Mergesort.pdf

2012-07-23

《算法导论》原版英文课件2

Lecture 2 Asymptotic Notation; Recurrences; Substitution, Master Method.pdf

2012-07-23

电脑丢失追踪软件

后台运行,秘密开启摄像头将盗贼拍照,并通过email发送到指定邮箱,远程操控计算机

2012-04-21

《Windows XP 使用技巧》大全!

非常棒的资源,与大家分享,我也是从网上下载的。

2009-12-18

空空如也

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

TA关注的人

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