自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

学习与研究

留下自己的每个足迹,与朋友分享,与后来者参考......

  • 博客(9)
  • 收藏
  • 关注

原创 list的部分用法

#include #include #include #include #include using namespace std;templatevoid printlist(const type& elem){ static int c = 0; if(c%4 == 0)  cout  cout  c++;}int main(void){ list coll_1; list coll_2; fo

2004-10-31 15:28:00 1357

原创 一个猜数字游戏的算法

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////                                                                               

2004-10-29 15:55:00 5695 1

原创 vector的size、capacity和max_size

#include #include #include #include #include using namespace std;int main(void){ vector coll; coll.reserve(4); coll.push_back("hey!"); coll.push_back("how"); coll.push_back("are"); coll.push_back("y

2004-10-29 15:01:00 2027

原创 functor(function object)

#include #include #include #include using namespace std;templateclass Add{     private:    type number; public:    Add(type initv) : number(initv){}    const type& operator()(type& elem) const    {   

2004-10-27 00:04:00 1096

原创 各种专用iterator的用法

#include #include #include #include #include #include using namespace std; int main(){    istream_iterator in(cin), end;    set abc(in,end);    vector ver;                copy( abc.begin(), abc.end()

2004-10-24 19:34:00 1612 1

原创 numeric_limits

#include #include #include #include using namespace std;int main(){    //判断各类型有无极值    cout     cout       ::is_specialized            cout       ::is_specialized           cout       ::is_specialize

2004-10-16 14:19:00 3159

原创 2004年10月10日,本人担任lqqm论坛c版版主

欢迎大家前来讨论,建版不久。需要人气,请大家多多帮忙,。telnet方式:bbs.lqqm.netwww方式:http://lqqm.net/c版所在。分类讨论区-》电脑之家-》C_Prog

2004-10-10 20:41:00 2609 2

原创 网络时代的学习方法论

在网络时代里的学习  谈起网络,也许我们最先想到是那些精彩非常的网络游戏、其乐无穷的即时通讯。当然,也许还有数不尽的帅哥美女,(汗!~~~)但是,作为一个学生或者作为一个生活在信息如此高度发达时代的人,一切都需要学习。(哪怕你只想玩玩游戏、聊聊天)不得不说生活在这样的时代,是幸运的,又是非常不幸的,试想以这样的发展速度,我们在学校里学到那些,能让我们用多久呢?是的,你已经想到了,这意味着我们要

2004-10-02 19:41:00 1710 1

原创 《programming windows》笔记2

在第一章中,我们明白了一个事实,所谓的API并不是什么神秘的东西,对于程序员来说它的意义就在于这三个字母中的最后一个,Interface(接口),换句话说只是一个库而已,那么事实上我们就是在学如何使用这个库,就像我们曾经学STL一样,该从最简单的运用开始,这是我认为在开始学习一个库的时候应该确立的思想。在第一章的末尾,作者展示了第一个windows程序(尽管我很怀疑那是windows程序),出

2004-10-02 17:21:00 1757 1

空空如也

空空如也

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

TA关注的人

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