码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
C++类转换构造函数和转换函数复习
//C++类转换构造函数和转换函数复习 #include #include using namespace std; class Student { private:     string name;     int age;     double grade; public:     Student(string name_, int age_, doubl...
分类:编程语言   时间:2015-05-19 10:46:21    阅读次数:125
Python爬虫_用Python爬取csdn页面信息目录
1.原理: 这个程序可以实现批量获取到某一个CSDN博客的个人信息、目录与链接的对应,并存到一个本目录的mulu.txt文件中 2.具体代码: # -*- coding: cp936 -*- import urllib.request# import re# import sys# import time# import random import string headers = {#...
分类:编程语言   时间:2015-05-19 10:44:32    阅读次数:156
Leetcode第九题_Palindrome Number
Palindrome Number Some hints:Could negative integers be palindromes? (ie, -1)If you are thinking of converting the integer to string, note the restriction of using extra space.You could also try revers...
分类:其他好文   时间:2015-05-19 10:43:23    阅读次数:122
【学习笔记】JavaScript编码规范- 注释
多行注释使用/**……*/,需要包含一个描述,所有参数的具体类型的值还有返回值。 // bad // make() returns a new element // based on the passed in tag name // // @param {String} tag // @return {Element} element function make(tag) { // ......
分类:编程语言   时间:2015-05-19 10:41:35    阅读次数:135
【深入JAVA】程序打包成Jar包运行并读取外部配置文件
在阅读的过程中有任何问题,欢迎一起交流 邮箱:1494713801@qq.com    QQ:1494713801   一、程序设置 Java的main方法有个初始化入参args,将参数表示为配置文件的路径,代码如下: 1 public static void main(String[] args) { 2 loadConf(args[0]); 3 } ...
分类:编程语言   时间:2015-05-19 10:36:52    阅读次数:211
error LNK2019: 无法解析的外部符号 "class std::vector<class std::basic_string<char,struct std::char_traits<cha
error LNK2019: 无法解析的外部符号 "class std::vector,class std::allocator >,class std::allocator,class std::allocator > > > __cdecl Public_Func::split(class std::basic_string,class std::allocator >,class std...
分类:其他好文   时间:2015-05-19 10:30:15    阅读次数:334
正则表达式-问号的四种用法
原文符号因为?在正则表达式中有特殊的含义,所以如果想匹配?本身,则需要转义,\?有无量词问号可以表示重复前面内容的0次或一次,也就是要么不出现,要么出现一次。非贪婪匹配贪婪匹配在满足匹配时,匹配尽可能长的字符串,默认情况下,采用贪婪匹配string pattern1 = @"a.*c"; // .....
分类:其他好文   时间:2015-05-19 10:21:53    阅读次数:119
Dev统计选中行、如需其他数据源可留言
Clipboard.Clear(); Dictionary dtary = new Dictionary(); string Ls = ""; foreach (int i in gridView1.GetSelectedRows(...
分类:其他好文   时间:2015-05-19 10:11:37    阅读次数:110
iOS学习之文本尺寸的计算
iOS7新出了一个boudingRectWithSize:options:attributes:context方法计算文本尺寸:NSString*desc=@"想过string";NSDictionary*attribute=@{NSFontAttributeName:[UIFontsystemFontOfSize:13]};//文字的大小CGSizesize=[descboundingRectWithSize:CGSizeMake(100,0)options:NSS..
分类:移动开发   时间:2015-05-19 07:20:44    阅读次数:138
javascript 简单实现对两个数组相似度的检验
js 检测两个数组是否相似 数组中的成员类型相同,顺序可以不同。例如[1, true] 与 [false, 2]是相似的数组的长度一致类型的判断范围,需要区分:String, Boolean, Number, undefined, null, 函数,日期, window.
分类:编程语言   时间:2015-05-19 00:34:10    阅读次数:370
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!