码迷,mamicode.com
首页 >  
搜索关键字:plus one    ( 30610个结果
Java基础:泛型
Java的泛型是什么呢, 就是类型的参数化,也就是原本该是确定类型的地方换成了变量,把类型的确定时间向后延迟了。     在之前,学过“重载”的概念,重载是什么呢,举例来说 public class Test{ // 处理整型数据 void receive(int i) { System.out.println("Received one int data"); System.ou...
分类:编程语言   时间:2014-07-22 23:04:34    阅读次数:324
LeetCode5:Longest Palindromic Substring
题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo...
分类:其他好文   时间:2014-05-01 20:07:13    阅读次数:429
C++ Primer Plus学习笔记之静态成员
C++ Primer Plus学习笔记之静态成员 关键字static可以用来说明一个类的成员(包括数据成员和成员函数),这样的成员被称为静态成员; 1,静态数据成员 在一个类中,若将一个数据说明前加上static,则该数据成为静态数据,静态数据成员被该类的所有对象共享。无论建立多少个该类的对象,都只有一个静态数据存储空间; 具体语法如下: 类型名 类名::静态数据成员[=常量表达式]...
分类:编程语言   时间:2014-05-01 18:21:21    阅读次数:273
leetcode__Merge k Sorted Lists
Merge k Sorted Lists  Total Accepted: 9746 Total Submissions: 41674My Submissions Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity....
分类:其他好文   时间:2014-05-01 17:11:32    阅读次数:234
c plus plus的string函数实现(希望高手路过指点一二)
本来可以轻松搞定的,可惜遇到一个暂时解决不了的问题,没有任何提示的崩; #ifndef_MYSTING_h_#define_MYSTING_h_/*String类;*/usingnamespacestd;/**********************************************....
分类:其他好文   时间:2014-05-01 09:36:25    阅读次数:254
listBox的用法
1.属性列表:SelectionMode组件中条目的选择类型:None-根本不允许任何选择;One-默认值,只选择单个选项;MultiSimple-简单的多项选择,单击一次鼠标就选中或取消选中列表中的一项;MultiExtended-扩展的多项选择,类似windows中的选择操作.SelectedI...
分类:其他好文   时间:2014-05-01 08:05:56    阅读次数:584
C++ Primer Plus学习笔记之拷贝构造函数
C++ Primer Plus学习笔记之拷贝构造函数 1,什么是拷贝构造函数 拷贝构造函数有两个含义: 首先,它是一个构造函数,当创建一个新对象时,系统自动调用它; 其次,它将一个已经定义过的对象的数据成员逐一对应的复制给新对象; 如果一个类没有显式定义拷贝构造函数,C++编译器可以为该类产生一个缺省的拷贝构造函数。这个缺省的拷贝构造函数采用C的方式,将拷贝对象的内存一个字节一个字节的拷...
分类:编程语言   时间:2014-04-30 22:24:39    阅读次数:537
SQL Mirroring[Hot back up with Double machine]
Background: It's fairly common for businesses to want to provide some high availability for their SQL Server databases, and one option is to have two SQL Server databases on separate machines with a SQL Server database mirrored....
分类:数据库   时间:2014-04-30 22:11:38    阅读次数:520
Steve Jobs Stanford
I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told, this is the closest I've ever gotten to a colleg...
分类:其他好文   时间:2014-04-29 13:46:22    阅读次数:337
Timus 1642. 1D Maze迷宫
1D people lived in a 1D country. Everything in the country was one-dimensional, and everything was simple and clear: just one axis and two directions — forward and backward. Even a 1D world has proble...
分类:其他好文   时间:2014-04-29 13:44:22    阅读次数:284
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!