码迷,mamicode.com
首页 >  
搜索关键字:shared object file    ( 90315个结果
在一台电脑访问另一台电脑的mysql数据库
1.假设192.168.1.3为服务器2.首先在ip为192.168.1.103的机子上能够ping通运行->cmd>ping192.168.1.3检查是否能ping通3.把两台电脑的IP设置在同一个网段,如:192.168.1.2,192.168.1.3。。。。。子网:255.255.255.0网...
分类:数据库   时间:2014-05-01 13:01:56    阅读次数:580
Iterator和Enumeration
iterator的hasNext() 和 next()方法用于enumeration的hasMoreElements() 和 nextElement()iterator it = a.itreator();Enumeration en = new Enumeration(){@Overridepub...
分类:其他好文   时间:2014-05-01 12:59:57    阅读次数:358
对字典作集合操作
>>> d1 = dict(a = 1, b = 2)>>> d2 = dict(b = 2, c = 3)>>> d1 & d2 # 字典不?支持该操作Traceback (most recent call last): File "", line 1, in TypeError: unsupp....
分类:其他好文   时间:2014-05-01 12:50:50    阅读次数:341
Pat(Advanced Level)Practice--1063(Set Similarity)
Pat1063代码 题目描述: Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the to...
分类:其他好文   时间:2014-04-29 13:44:20    阅读次数:325
net.sf.json.JSONException: 'object' is an array. Use JSONArray instead
list集合转换JSON出错误意思是:对象”是一个数组。使用jsonarray代替。解决方法:将JSONObject替换为JSONArray代码:JsonConfig jsonConfig = new JsonConfig();jsonConfig.setCycleDetectionStrategy(CycleDetectionStrategy.LENIENT);JSONArray json = ...
分类:Web程序   时间:2014-04-29 13:43:21    阅读次数:1280
VM启动报错Cannot open the disk,Failed to lock the file
在windows下运行VMware创建的虚拟机时出错,无法运行。 错误提示大概为: Failed to lock the file Cannot open the disk 'D:\Windows Server 2008 R2 x64.vmdk' or one of the snapshot disks it depends on. 解决方法:        把虚拟机文件夹里【.lck】...
分类:其他好文   时间:2014-04-29 13:28:21    阅读次数:366
面向对象(高级篇之Object类与包装类与匿名内部类)
在java所有类中都有一个共有的父类Object,一个类只要没有明显的继承一个类,则肯定是object类的子类 object类中有常用的四个方法。1、public object()构造方法 2、public boolean equals(object obj)对象比较 3、public int hashcode()取得hash码 4、public String toString();对象打...
分类:其他好文   时间:2014-04-29 13:17:21    阅读次数:373
QT静态库和动态库的导出
由于静态库是不需要导出的,所以在写QT的前置声明的时候需要说明 #if defined(QT_SHARED) #ifdef COMMONLIB #define COMMONLIB_EXPORT Q_DECL_EXPORT #else #define COMMONLIB_EXPORT Q_DECL_IMPORT #endif #else #ifdef COMMONLIB #defi...
分类:其他好文   时间:2014-04-28 10:47:42    阅读次数:374
paip.元数据驱动的转换-读取文件行到个list理念 uapi java php python总结
paip.元数据驱动的转换-读取文件行到个list理念 uapi java php python总结 #两个思路 1.思路如下:使用file_get_contents()获取txt文件的内容,然后通过explode()把获得的字符串转化为数组。获得数组长度可以使用count()函数 2.使用按照行读取api 在正则表达式中,有一个\n是newline的意思,又有一个\r是carri...
分类:编程语言   时间:2014-04-28 10:46:40    阅读次数:304
走进C++程序世界-----operator new delete 重载
在C++ 的世界里,new 和delete 是关键字,而在C的世界里相对应的malloc和free是函数,关键C++的new和delete分析,详见前面的章节,这里就不在过多的介绍了。链接。 下面来研究下关于new 和delete的重载。  1、对比使用重载和未使用重载  未使用“/*File : operator_new.cpp *Auth : sjin *Date : 2014-04...
分类:编程语言   时间:2014-04-28 10:43:41    阅读次数:406
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!