码迷,mamicode.com
首页 >  
搜索关键字:the xor-longest path    ( 29635个结果
jsp连接mysql----------第一篇技术类文章
今天做作业连了一天的mysql。 最后我痛定思痛,决定从0开始学习jsp,省的又面临不会的局面。 忙活了一晚上,终于把数据库连接上了,不过,好伤心啊,我连个数据库都这么墨迹。。。 <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServer...
分类:数据库   时间:2014-06-05 03:37:23    阅读次数:244
web.xml里<init-param>报错
Description Resource Path Location Type cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":enabled, "http://java.sun....
分类:Web程序   时间:2014-06-03 05:31:38    阅读次数:514
ios 继承UIView实现自定义视图——实现画图
主要的原理包括: 继承UIView ,重载drawrect和重载触摸事件 待实现的功能还有,路径数组保存等。 #import "testdrow.h" @implementation testdrow UIColor *pick_color; int choose; UIBezierPath *mpath ; UIBezierPath *eraser_path; NSTimer *myt...
分类:移动开发   时间:2014-06-03 00:20:36    阅读次数:323
leetcode -day24 Maximum Depth of Binary Tree & Binary Tree Zigzag Level Order Traversal
1、Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. clas...
分类:其他好文   时间:2014-06-02 23:13:22    阅读次数:290
python开发环境设置(windows)
python开发环境设置(windows) 1)  python2.7.3安装 在www.python.org上下载python-2.7.6.amd64.msi软件,安装完成后设置path路径。控制面板->高级系统设置->高级->环境变量->新建用户变量,输入变量名path,变量值,确定,确定。 查看设置是否成功:cmd->python,有如下图输出,说明环境变量设置成功...
分类:编程语言   时间:2014-06-02 22:41:26    阅读次数:401
php parse_url()函数
parse_url()函数是将输入的URL结构分解成几个部分来将其转变为一个关联数组组成URL的几个基本部分为:scheme(协议名),host(主机名),port(端口号),path(文件路径),query(查询参数),user(用户名),pass(密码)如:http://www.example....
分类:Web程序   时间:2014-06-02 12:47:09    阅读次数:300
xe6+firedac 连接sybase
一、Win7X64系统安装sybaseodbc:1、下载对应包至c:\system_odbc(文件夹名自己取,在后面注册表内容需要用到),接着需要将该目录添加至path环境变量下;2、将值信息写入到注册表内:WindowsRegistryEditorVersion5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBCINST.IN..
分类:数据库   时间:2014-06-02 03:21:37    阅读次数:336
PHP 文件操作类(创建文件并写入) 生成日志
<?php /** * 文件操作(生成日志)支持多条插入 * (如果插入多条语句并换行 用','逗号分开) * */ class log { public $path = './info.txt'; //默认值文件 public $mode = 'a'; //默认追加写 public $content = '默认值:空'; //默认内容是 空 public ...
分类:Web程序   时间:2014-06-02 02:35:45    阅读次数:231
poj3126
题目链接: http://poj.org/problem?id=3126 题目: Prime Path Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 10737   Accepted: 6110 Description The ministers of...
分类:其他好文   时间:2014-06-02 02:21:22    阅读次数:228
在Eclipse中编写servlet时出现"The import javax.servlet cannot be resolved" 问题解决办法
方法1:在Eclipse中,右击项目,选择Java Build Path->Libraries->Add External JARs,找到你计算机中tomcat的安装路径,在common\lib文件夹下选中"servlet-api.jar",添加点击“确定”,ok!方法2:把servlet-api....
分类:编程语言   时间:2014-06-02 01:44:50    阅读次数:349
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!