针对vs2003:
第一种方法
在“工具”-》“选项”对话框里面:
在“选项”下面的“常规”有个“重置窗口布局”按钮。
第二种方法
把 Documents and Settings\用户名\Application Data\Microsoft\VisualStudio\7.1
下的所有文件都删除,然后重新开vs2003 OK;...
分类:
其他好文 时间:
2014-06-07 01:44:20
阅读次数:
203
提取了一些在开发过程中可能会用到的日期相关的函数作为工具类,供大家参考:
/**
* 日期操作工具类.
*
* @author shimiso
*/
public class DateUtil {
private static final String FORMAT = "yyyy-MM-dd HH:mm:ss";
public static Date str2Dat...
分类:
移动开发 时间:
2014-06-07 01:15:57
阅读次数:
289
题目如下;
Quadtrees
A quadtree is a representation format used to encode images. The fundamental ideabehind the quadtree is that any image can be split into four quadrants. Each...
分类:
其他好文 时间:
2014-06-05 04:20:06
阅读次数:
226
在做Asp.net项目中,visual studio 2010创建项目时总会带有default.aspx页。其实也就是所谓的首页,比如以前总喜欢定义一个Index.aspx。然后,所有功能页面从这个页面进去。我也比较喜欢这样用。之前在default上写了不少frameset,大约是收了html的影响。实际上当我仔细看代码时,发现asp.net并不支持frameset,它支持的是ifram。还是改过...
分类:
Web程序 时间:
2014-06-05 02:04:26
阅读次数:
258
最近在用QDeclarativeItem的继承来做Qt界面的控件,一开始发现怎么样也没法自动调用paint函数,后来查看了资料,发现如下字句:
You can subclass QDeclarativeItem to provide your own custom visual
item that inherits these features. Note that, because it ...
分类:
其他好文 时间:
2014-06-04 23:47:17
阅读次数:
511
【题目】
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad ...
分类:
其他好文 时间:
2014-06-04 22:37:46
阅读次数:
389
1、错误描述
Exception in thread "main" java.lang.IllegalArgumentException: Cannot format given Object as a Date
at java.text.DateFormat.format(Unknown Source)
at java.text.Format.format(Unknown Source)...
分类:
编程语言 时间:
2014-06-03 03:26:58
阅读次数:
309
YES,it's so easy,what we need to do is just include ,then the information of
memory leaking will be shown on the screen....
分类:
其他好文 时间:
2014-05-31 21:14:52
阅读次数:
334
Windows服务大家都不陌生,Windows服务组的概念,貌似MS并没有这个说法。作为一名软件开发者,我们的机器上安装有各种开发工具,伴随着各种相关服务。Visual
Studio可以不打开,SqlServer Management Studio可以不打开,但是SqlServer服务却默认开启了。...
Sprintf函数声明:int sprintf(char *buffer, const char
*format [, argument1, argument2, …])用途:将一段数据写入以地址buffer开始的字符串缓冲区所属库文件:
参数:(1)buffer,将要写入数据的起始地址;(2)fo...
分类:
编程语言 时间:
2014-05-31 18:30:24
阅读次数:
255