码迷,mamicode.com
首页 >  
搜索关键字:from file system    ( 153319个结果
c#植物大战僵尸素材提取
string path = textBox1.Text; FileStream fs = File.OpenRead(path); byte[] bytes = new byte[fs.Length]; fs.Read(bytes, ...
分类:其他好文   时间:2014-05-04 09:55:49    阅读次数:402
wpf 9张图片的连连看
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; us...
分类:其他好文   时间:2014-05-04 09:30:21    阅读次数:360
travel the binary tree by level 2 ( from top to down )
travel the binary tree by level 2 ( from top to down ) 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:travel the binary tree by level 2 (...
分类:其他好文   时间:2014-05-04 09:27:56    阅读次数:334
JAVA之File类-删除一个有内容的文件夹
package ioTest.io3; /* * 删除有内容的文件夹:从最里面一直向外删除。建议千万不要删除硬盘上面有用的文件夹哦 * 方法思路 * 循环+递归 */ import java.io.File; public class RemoveDir { public static void main(String[] args) { // TODO Auto-generat...
分类:编程语言   时间:2014-05-04 09:25:58    阅读次数:464
uva ``Accordian'' Patience
题目如下: ``Accordian'' Patience You are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:     Deal cards one by one in a row from left to right, no...
分类:其他好文   时间:2014-05-04 09:08:31    阅读次数:329
JSON中 net.sf.json.JSONException: java.lang.NoSuchMethodException异常
在json对象和java对象转换时 String s = "{'name':'name1','pwd':'pwd1'}"; Person p = (Person)JSONObject.toBean(JSONObject.fromObject(s), Person.class); System.out.println(p.getPwd()); 上面代码中出现以下异常: net.sf.json.JSONException: java.lang.NoSuchMethodException...
分类:编程语言   时间:2014-05-04 09:05:16    阅读次数:1650
VMware 10安装CentOs 6.5
最近重新看鸟哥,准备装CentOs,一看最新版本是6.5,书上是5.X的,略有点不同,二话不说,搞起~ 我的VMware版本是10.0.1 build-1379776 先新建一个虚拟机,挂上iso文件(两个iso挂第一个就行了,另一个放在同一目录下) 启动,出现以下画面 Install or upgrade an existing system 安装或升级现有的系统 install...
分类:其他好文   时间:2014-05-04 09:04:44    阅读次数:376
《modern operating system》 chapter 3 MEMORY MANAGEMENT 笔记
Over the years, people discovered the concept of a memory hierarchy,...
分类:其他好文   时间:2014-05-04 09:03:17    阅读次数:247
travel the binary tree by level 3 ( from down to top and from right to left every level )
travel the binary tree by level 3 ( from down to top ) 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:travel the binary tree by level 3 ( f...
分类:其他好文   时间:2014-05-04 09:00:55    阅读次数:294
JAVA之File类-将指定目录下的所有java文件的绝对路径存储到文本文件中
/* * 将指定目录下的所有java文件的绝对路径存储到文本文件中 * 建立一个java列表。 * 思路: * 1.对指定目录进行递归 * 2.获取递归过程所有的java文件的路径 * 3.将这些路径存储在集合中 * 4.将集合中的内容写到文本文件 * 注:3,4步骤也可以合并成一个步骤 */ package ioTest.io3; import java.io.Buffere...
分类:编程语言   时间:2014-05-04 08:48:43    阅读次数:402
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!