http://blog.csdn.net/liuliming3000/article/details/18093851从C到C++
string类2 string类的构造函数3 string类的字符操作4 string的特性描述5 string类的输入输出操作6 string的赋值7
string的...
分类:
编程语言 时间:
2014-05-08 19:38:31
阅读次数:
376
首先是行标题列rowheaderdataGridView1.TopLeftHeaderCell.Value =
"details";_______________________________________________________有的时候在datagridview中手动添加列的时候,就算...
一个用来分割字符串的函数:
strtok
char * strtok ( char * str, const char * delimiters );
Split string into tokens
A sequence of calls to this function split str into tokens, which are sequences of co...
分类:
其他好文 时间:
2014-05-07 16:18:12
阅读次数:
273
树的实现
记住上一节树的定义,在定义的基础上,我们用以下的函数创建并操作二叉树:
BinaryTree() 创建一个二叉树实例 getLeftChild() 返回节点的左孩子 getRightChild() 返回节点的右孩子 setRootVal(val) 把val变量值赋给当前节点 getRootVal() 返回当前节点对象。 insertLeft(val) 创建一个新二叉树作为当前...
分类:
编程语言 时间:
2014-05-07 15:58:43
阅读次数:
504
The Morning Commute
The Chef commutes to work every day using the city's underground metro. The schedule for the trains has recently been changed and he wants to know how long it will take to tra...
分类:
其他好文 时间:
2014-05-07 15:37:11
阅读次数:
406
模拟登陆的方式从获取微信公众平台消息列表和用户头像的库,之后还会继续增加相关功能,github地址https://github.com/btyh17mxy/wxwall...
分类:
微信 时间:
2014-05-07 15:05:43
阅读次数:
761
我的环境:
vs2010+netframework3.5+ueditor1_3_5-utf8-net问题:UEditor上传图片等附件都出现红叉尝试了网络上各种方法都不对,
后来只能自己看下imageUp.ashx的代码。。。解决方案: 默认代码: if (!String.IsNullOrEmpt....
分类:
其他好文 时间:
2014-05-07 14:48:36
阅读次数:
242
Downloading the module:sudo apt-get install
python-tksimple example:#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode
Tkinter tutorialThis script sho...
分类:
编程语言 时间:
2014-05-07 14:46:05
阅读次数:
454
我们知道资源被注册到R.java我们通过R.java就可以读取到界面中的组件。跟我们.net一样,通过ID来读取组件知识点:通过R.java读取组件MainActivity.java通过findViewById方法查找组件在Layout中用@string查找字符串,这个跟我们MVC中国际化基本相识,...
分类:
移动开发 时间:
2014-05-07 14:27:09
阅读次数:
438
与操作字符串有关的最后一个方法是localeCompare(),这个方法比较两个字符串,按照字符串的字母表中的位置分别返回-1,0,1var
stringValue="yellow";alert(stringValue.localeCompare("brick"));
//1alert(strin....
分类:
编程语言 时间:
2014-05-07 14:23:09
阅读次数:
365