码迷,mamicode.com
首页 >  
搜索关键字:no such file or dire    ( 51119个结果
在一台电脑访问另一台电脑的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
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
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++程序世界---------雇员工资管理系统
前面对C++ 面向对象的基本了解和认识,下面来运用前面的基础知识,来实现一个简单的雇员工资管理系统,雇员分为2中,普通员工和管理者,两者工资和工作年限挂钩。具体参见下图: 具体实现参见下面的代码: /*File : salarySystem.h *Auth : sjin *Date : 2014-04-27 *Mail : 413977243@qq.com */ #ifnde...
分类:编程语言   时间:2014-04-28 10:43:42    阅读次数:401
走进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
Hdu 1042 N! (高精度数)
Problem Description Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!   Input One N in one line, process to the end of file.   Output For each N, output N! i...
分类:其他好文   时间:2014-04-28 10:36:41    阅读次数:341
【代码备忘】C++ fstream 读写 unicode 文件
欢迎加入我们的QQ群,无论你是否工作,学生,只要有c / vc / c++ 编程经验,就来吧!158427611  所谓的unicode文件,无非就是在文件头部插入了 0xFFFE的标志。。。读写的时候对应的读写 就可以了。 namespace fileStream { bool readFile_Unicode( const string &file ,wstr...
分类:编程语言   时间:2014-04-28 10:22:41    阅读次数:678
hdu 1033
别人眼中的水题啊!!! 理解题意真是困难啊,以图片形式说明: /************************************************************************* File Name: 1030.cpp Author: yubo Mail: yuzibode@126.com Created Time: 2...
分类:其他好文   时间:2014-04-27 21:34:00    阅读次数:358
二叉树的链表实现(递归)
/************************************************************************* File Name: bitree.cpp Author: yubo Mail: yuzibode@126.com Created Time: 2014年04月27日 星期日 23时45分04秒 学...
分类:其他好文   时间:2014-04-27 21:27:00    阅读次数:373
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!