码迷,mamicode.com
首页 >  
搜索关键字:find file    ( 74561个结果
asp.net html table to DataTable
添加引用http://htmlagilitypack.codeplex.com/downloads/get/437941protected void Export(string content,string file) { HtmlDocument doc = new HtmlD...
分类:Web程序   时间:2014-07-22 23:17:32    阅读次数:426
openfire插件开发环境
创建java工程SamplePlugin:package com.hoo.server.plugin;import java.io.File;import org.jivesoftware.openfire.XMPPServer;import org.jivesoftware.openfire.co...
分类:其他好文   时间:2014-07-22 23:17:14    阅读次数:478
webdriver 的CSV数据驱动
1.获取CSV数据内容public static Object[][] getFromCSV(String filename) { if (!(new File(filename)).exists()){ return null; } Object[][] content; CSVReader r....
分类:Web程序   时间:2014-07-22 23:16:34    阅读次数:467
java 抓取网页图片
import java.io.File;import java.io.FileOutputStream;import java.io.InputStream;import java.io.OutputStream;import java.net.HttpURLConnection;import ja...
分类:编程语言   时间:2014-07-22 23:16:33    阅读次数:616
[Leetcode] Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-07-22 23:16:14    阅读次数:408
GDB 调试 C/C++ Project
平时做算法题目, 没少用到 GDB, 但今天才意识到 Project 的调试方法与单个 cpp 文件的不同之处, 比如 gdb list 命令, 在单个 cpp 文件中列出的是源代码, 但在 project 中却什么都不显示Project Debug 时, file 参数的使用[1] 有讲解, UP...
分类:数据库   时间:2014-04-30 17:23:01    阅读次数:527
技巧一:Delphi XE3 Excel导入数据到StringGrid
procedure TDataEditDrFrm.btn8Click(Sender: TObject);varexcelx,excely:string;ExcelApp:Variant;workBook:OleVariant;excelRowCount,excelColumnCount:longin...
分类:其他好文   时间:2014-04-30 15:17:44    阅读次数:427
【HDOJ】3560 Graph’s Cycle Component
并查集的路径压缩。 1 #include 2 #include 3 4 #define MAXNUM 100005 5 6 int deg[MAXNUM], bin[MAXNUM]; 7 char isCycle[MAXNUM]; 8 9 int find(int x) {10 i...
分类:其他好文   时间:2014-04-29 17:22:46    阅读次数:308
six solutions to a single symmetrical problem
Problem description:given a string, find the longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start and end of the substring...
分类:其他好文   时间:2014-04-29 17:22:46    阅读次数:308
VC6微软正则表达式greta使用案例
#include#include"regexpr2.h"usingnamespacestd;usingnamespaceregex;//greta库的命名空间//若链接出错,设置MFC静态链接//查找匹配串//返回结果匹配串(CStringArray数组指针类型)CStringArray*Find(...
分类:其他好文   时间:2014-04-29 17:15:48    阅读次数:363
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!