由于一字节的对齐问题,我调一个库调了我基本一个下午.....犯错其实并不可怕,可怕的是你一犯再犯......这也算得上是难能可贵.../Zp (Struct
Member Alignment)Visual Studio 2013Other VersionsThis topic has not yet...
分类:
其他好文 时间:
2014-05-09 09:40:28
阅读次数:
306
戳我去解题Write an efficient algorithm that searches for
a value in anmxnmatrix. This matrix has the following properties:Integers in
each row are sorted f...
分类:
其他好文 时间:
2014-05-09 08:27:24
阅读次数:
241
继承是面向对象的重要特征之一。拓展一个已有的类,并具有该类的属性和行为创建的新类过程,叫继承。已有的类叫父类,新类叫子类。
类与类的关系有组合(has-a)和继承(is-a)。继承使用extends这个关键字来声明。继承的优点: a、代码的可重复率;
b、父类的属性和行为可以用于子类; ...
分类:
其他好文 时间:
2014-05-09 08:12:34
阅读次数:
307
刚在stackoverflow看到一道很不错的问题,遂拿来分享之。
题目要求:我有一个很长的字符串:
String s1="This is my world. This has to be broken."
我要把上面的字符串打乱以固定的长度(例如10)使得输出为:
This is my
world. Thi
s has to b
e broken.
但是...
分类:
其他好文 时间:
2014-05-09 02:41:46
阅读次数:
266
ZOJ Problem Set - 3780
Paint the Grid Again
Time Limit: 2 Seconds Memory Limit: 65536 KB
Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black ...
分类:
其他好文 时间:
2014-05-09 02:00:35
阅读次数:
506
问题描述:The page has one or more controls that do
not correspond with controls in the Master Page解决办法:删除母版页中的大量的注释
分类:
Web程序 时间:
2014-05-08 23:45:26
阅读次数:
400
package
org.springframework.jdbc.datasource;import java.sql.Connection;import
java.sql.SQLException;import javax.sql.DataSource;import org.apache.comm...
分类:
编程语言 时间:
2014-05-08 22:59:34
阅读次数:
910
用 oracle net manager
将监听改为IP地址,将服务命名也改为IP地址,然后数据库连接改为IP地址方式不要用localhost
分类:
Web程序 时间:
2014-05-08 18:35:45
阅读次数:
255
本文灵感来自Andre Azevedo在CodeProject上面的一片文章,An
Asynchronous Socket Server and Client,讲的是异步的Socket通信。Socket连接(Socket
Connection)Socket服务(Socket Service)连接主机...
分类:
其他好文 时间:
2014-05-08 14:55:30
阅读次数:
404
1、IP错误:
在设置URL时错误,例如:jdbc:oracle:thin:@192.168.1.80:1521:orcl 数据库服务器是否正确:ping
服务器IP是否通畅。ping不通则将URL更改正确。 端口号是否正确。 进行一下操作:在DOS上键入sqlplus,检查oracle是否开启 一...
分类:
Web程序 时间:
2014-05-08 09:07:17
阅读次数:
514