码迷,mamicode.com
首页 >  
搜索关键字:c primer plus    ( 4591个结果
C++学习笔记(2)
本学习笔记是C++ primer plus(第六版)学习笔记。是C++学习笔记(1)的后续。复习C++基础知识的可以瞄瞄。转载请注明出处http://www.cnblogs.com/zrtqsk/p/3878593.html,谢谢!如下。第五章1、for循环——for(initialization;...
分类:编程语言   时间:2014-07-31 19:35:57    阅读次数:266
【足迹C++primer】58、Template Parameter
Template Parameter #include #include #include #include #include #include using namespace std; template Foo calc(const Foo &a, const Foo &b) { Foo temp=a; //... return temp; } ///Templa...
分类:编程语言   时间:2014-07-31 09:55:46    阅读次数:252
【足迹C++primer】60、重载和模板
重载和模板 /** * 功能:重载和模板 * 时间:2014年7月27日16:23:32 * 作者:cutter_point */ #include #include #include using namespace std; /** 重载模板书写 */ template string debug_rep(const T &t) { ostringstream ret;...
分类:编程语言   时间:2014-07-31 09:55:37    阅读次数:288
【足迹C++primer】59、模板左值右值的转换
模板左值右值的转换 /** * 功能:模板左值右值的转换 * 时间:2014年7月27日08:18:06 * 作者:cutter_point */ #include #include #include using namespace std; template auto fcn(It beg, It end) -> typename remove_reference::ty...
分类:编程语言   时间:2014-07-31 09:55:27    阅读次数:312
C语言--存储类、链接和内存管理
注:此文为《C Primer Plus》一书中的部分总结,写下来方便以后参考。 用于存储程序数据的内存可用存储时期、作用域和链接来表征。 存储时期可以使静态的、自动的或者分配的。①如果是静态的,内存在程序开始执行时被分配,并行程序运行时一直存在。②如果是自动的,变量所用内存在程序执行到该变量定义.....
分类:编程语言   时间:2014-07-31 02:22:35    阅读次数:282
推荐阅读书籍,是时候再行动起来了。
网上一位大神的经验之谈【语言经典书】C:C程序设计语言(K&R)C和指针C专家编程C陷阱与缺陷你必须知道的495个C语言问题C++: C++ primer effective C++深度探索C++对象模型stl源码分析C++必知必会java:java编程思想java并发编程深入理解Java虚拟机:J...
分类:其他好文   时间:2014-07-30 20:25:24    阅读次数:199
10g下修改RAC地址
本测试是基于oracle 10.2.0.5 SQL*Plus: Release 10.2.0.5.0 - Production on Tue Jul 29 20:45:16 2014 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edi...
分类:其他好文   时间:2014-07-29 21:54:32    阅读次数:390
C++ Primer Plus的若干收获--(十)
本篇主要讲了友元、通过友元重载函数运算符以及类型转换,总的来说写的还是比较详细的,花了我不少功夫,这里给大家看下...
分类:编程语言   时间:2014-07-29 21:52:12    阅读次数:396
hdu 1024 Max Sum Plus Plus(DP)
转移方程dp[i][j]=Max(dp[i][j-1]+a[j],max(dp[i-1][k] ) + a[j] ) 0 此链接中有详解点击打开链接 #include #include #include using namespace std; #define MAXN 1000000 #define INF 0x7fffffff int dp[MAXN+10]; int mma...
分类:其他好文   时间:2014-07-29 21:50:32    阅读次数:220
HDU 1024Max Sum Plus Plus(最大m字段和)
/* 动态转移方程:dp[i][j]=max(dp[i-1]+a[i], max(dp[t][j-1])+a[i]) (j-1 2 #include 3 #include 4 #define N 10000 5 using namespace std; 6 7 int dp[N][N...
分类:其他好文   时间:2014-07-29 17:02:02    阅读次数:344
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!