1.新建文件后再删除失败,提示文件正在被另一程序使用中(The process cannot access the file because it is being used by another process.) func main() {
NewConfigIni()
DeleteConfigTemp()
}
func Delet...
分类:
其他好文 时间:
2014-09-23 16:35:45
阅读次数:
183
http://helpdeskgeek.com/help-desk/windows-cannot-access-the-specified-device-path-or-file/Method 1 – Windows Server 2003 Terminal ServicesFirstly, if ...
分类:
数据库 时间:
2014-09-23 11:05:04
阅读次数:
234
1.当我们把类体内的一些成员函数设置为private时, 外部用户(除了该类内部的用户)则无法调用该函数。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 //Test不支持复制和赋值。所以不能放入vector 7 cl...
分类:
编程语言 时间:
2014-09-23 00:04:53
阅读次数:
264
log4j:WARN No appenders could be found for logger(org.springframework.context.support.ClassPathXmlApplicationContext).log4j:WARN Please initialize the...
分类:
其他好文 时间:
2014-09-22 22:09:23
阅读次数:
228
简单工厂模式:用一个类负责创建实例的任务,通常是此类中的一个static函数具体负责,此函数中包含了必要的逻辑判断,根据客户端的选择条件动态实例化相关的类。这些实例化的类都派生自同一个父类。使用简单工厂模式,在新增分支时,要新增一个功能子类同时在工厂类中增加逻辑判断分支。//简单工厂模式//父类cl...
分类:
其他好文 时间:
2014-09-22 20:38:53
阅读次数:
244
1、用于删除重复记录(The use of to delete the common record)例子:(Example)#1初始化数据(Initialize the data)CREATE TABLE #tmp1 ( id int, name nvarchar(20), age int );IN...
分类:
其他好文 时间:
2014-09-22 17:19:22
阅读次数:
133
右键项目 HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers HKEY_CLASSES_ROOT\Directory\shell HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers HKEY_CL...
分类:
其他好文 时间:
2014-09-22 12:29:32
阅读次数:
165
无法加载'pdo_mysql' ,因为需要pdo这个module。PHP Warning: Cannot load module 'pdo_mysql' because required module 'pdo' is not loaded in Unknown on line 0步骤1、进入源安装...
分类:
Web程序 时间:
2014-09-22 00:54:31
阅读次数:
934
===================NSArray====================(不可变数组,一旦建立就不能被更改)Ordered collection of objects.Immutable(you cannot add or remove objects to it once it...
分类:
其他好文 时间:
2014-09-21 23:58:31
阅读次数:
161
char FirstNotRepeatingChar(char* pString){ // invalid input if(!pString) return 0; // get a hash table, and initialize it const int...
分类:
其他好文 时间:
2014-09-21 19:55:31
阅读次数:
168