今天import a project, 编译时提示Type R is already defined error, google, stackoverflow, 找到一个solution,"The type R is already defined"That's the message you ge...
分类:
其他好文 时间:
2014-07-06 18:04:39
阅读次数:
168
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:
数据库 时间:
2014-07-06 16:43:00
阅读次数:
284
解决方案1:在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。 解决方案2:Windows -> Preferences -> Java -> Compiler -> Errors/Warning...
分类:
其他好文 时间:
2014-07-06 15:01:09
阅读次数:
168
最近在做公司的一个project,其中有一部分,要求浏览器端通过jquery ajax调用服务器端返回json格式的多条数据。网上搜索了一下,找到下面两个方法在.NET中生成json。方法一:.NET Framework 3.0及更早的版本:public static string GetJSONS...
分类:
Web程序 时间:
2014-07-06 13:55:07
阅读次数:
301
近期用excel和VB比較多,就简单的学习了一下VB中对Excel的处理。今天就介绍一些吧。 在VB中要想调用Excel,须要打开VB编程环境“project”菜单中的“引用”项目,并选取项目中的“Microsoft Excel 11.0 object library”项。因为你的Excel版本号....
分类:
其他好文 时间:
2014-07-06 13:47:11
阅读次数:
171
File->new->Project->android->Android Project from Existing code在Root Directory:中填写AndroidManifest.xml所在的文件夹路径需要注意的是:导入的工程不要跟Eclipse Android的工作目录下,不然会出...
分类:
移动开发 时间:
2014-07-06 12:56:23
阅读次数:
184
按他的方法排序,每次移动一个数到顶点,排成需要的序列。
Problem D: ShellSort
He made each turtle stand on another one's back
And he piled them all up in a nine-turtle stack.
And then Yertle climbed up. He sat down on the p...
分类:
其他好文 时间:
2014-07-06 09:15:42
阅读次数:
211
vector是我使用比较多的一个容器,它相当于一个动态的数组,在STL中给他提供了很多接口,简单易懂,接下来简单的演示一下它是如何使用的。 我一般使用的一些函数接口有size(),reserve(),empty(),begin(),end(),push_back(),find(),erase(...
分类:
其他好文 时间:
2014-07-05 22:27:43
阅读次数:
276
缓存方式: 直接映射 N路关联缓存策略: write through:通写 write back:回写进程类别: 交互式进程(IO密集型) 批处理进程(CPU密集型) 实时进程(Real-time)CPU: 时间片长,优先级低IO:时间片短,优先级高Linux优先级:priority ...
分类:
其他好文 时间:
2014-07-05 22:06:21
阅读次数:
357
Nlog是一款可以通过自动化配置来把log信息指定写入 win console,Sql server,甚至是通过STMP 发送邮件的log engine
首先下载Nlog DLL,通过网上直接download 或者nuget 下载DLL都可以。
http://nlog-project.org/download/
然后把下载下来的Nlog.dll ,Nlog,extension.dll 加...
分类:
其他好文 时间:
2014-07-05 10:47:16
阅读次数:
270