码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
C++ Primer 学习笔记_99_特殊工具与技术 --优化内存分配[续1]
特殊工具与技术--优化内存分配[续1]三、operator new函数和operator delete 函数– 分配但不初始化内存 首先,需要对new和delete表达式怎样工作有更多的理解。当使用new表达式 string *sp = new string("initialized"); 的时候,实际上发生三个步骤: 1)首先,表达式调用名为operatornew 的标准库函数,分配足够大...
分类:编程语言   时间:2014-06-04 13:42:19    阅读次数:453
JDBC操作Oracle,根据日期查询
方法一:1 SimpleDateFormat dateformat=new SimpleDateFormat("yyyy-MM-dd");2 String today=dateformat.format(new Date());3 4 String delSql = "delete from ssd...
分类:数据库   时间:2014-06-03 16:42:37    阅读次数:598
【Install】我是如何安装Linux类系统的
安装系统:ubuntu12.04 i386 DVDU盘启动12.04live系统连线,设置连接安装系统到硬盘“语言支持”,更新安装gnome经典界面sudo apt-get install gnome-shell gnome-tweak-tool gnome-panel关闭unity的全局菜单sud...
分类:系统相关   时间:2014-06-03 16:31:35    阅读次数:372
map中erase函数的使用
STL的map表里有一个erase方法用来从一个map中删除掉指令的节点eg:map mapTest;typedef map::iterator ITER;ITER iter=mapTest.find(key);mapTest.erase(iter);像上面这样只是删除单个节点,map的形为不会出现...
分类:其他好文   时间:2014-06-03 16:11:29    阅读次数:239
jquery easyui datagrid 排序列
点击排序列,将获取参数有:page=1&rows=10&sort=UserName&order=descc#后台获取sort跟order参数string sortColumn = Request.Params["sort"].ToString(); string ord...
分类:Web程序   时间:2014-06-03 15:39:25    阅读次数:369
分隔带空格的字符串
1 string[] arr=Regex.Split(strValue, @"\s+") View Code分隔带空格的字符串 去掉空格 字符串数组
分类:其他好文   时间:2014-06-03 15:25:48    阅读次数:274
Silverlight 设置颜色
透明色:00ff00ff //设置柱状图的颜色 ColorSet cs = new ColorSet(); cs.Id = "colorset1";#region 设置柱状图的颜色 待开发 string strColor = oYAXIS.Color; switch (strColor) { cas...
分类:Web程序   时间:2014-06-03 15:21:24    阅读次数:337
2014-4-25 运行号:837134 素数求和
#include #include #include #include #include #include #include using namespace std;bool pre_arry[1100];void pre_cnt() //素数筛{ memset(pre_arry,1,sizeof....
分类:其他好文   时间:2014-06-03 14:57:38    阅读次数:259
通过直接预分区的方式建表
/*通过直接预分区的方式建表*/private static void printTableRegion(String tableName)throws IOException{ System.out.println("Prtint region of table:"+tableName);/...
分类:其他好文   时间:2014-06-03 14:51:05    阅读次数:207
Money类
public class Money { /// /// 要转换的数字 /// private double j; private string m_pb; /// /// ...
分类:其他好文   时间:2014-06-03 14:37:26    阅读次数:436
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!