main.cxx#include #include #include #include using
namespace std; int main() { sqlite3* file; int flag; flag =
sqlite3_open("./stu.db", &file); if(...
分类:
数据库 时间:
2014-06-29 14:36:03
阅读次数:
254
今天在安装Aptana Studio
2时出现这个东东,卸载后再安装依旧不行最后找到原因原因:就是由于你把“我的文档”的位置修改造成的。但Aptana还以为“我的文档”的位置是在系统的默认路径下。解决办法:右键快捷方式,找到“属性”,把“目标”修改为"D:/Program
Files/Aptana ...
分类:
其他好文 时间:
2014-05-30 09:38:25
阅读次数:
250
1. 最基本的读文件方法:# File: readline-example-1.pyfile =
open("sample.txt")while 1: line = file.readline() if not line: break pass # do
something 一行一行得从文件读数据....
分类:
编程语言 时间:
2014-05-29 01:34:30
阅读次数:
402
使用这个功能时,遇到几个问题: 1. 当点击library时,ie报错:A problem
with this webpage caused Internet Explorer to close and reopen the tab
解决方法:使用Internet Explorer (No Add-...
分类:
其他好文 时间:
2014-05-28 16:17:47
阅读次数:
536
Chrome插件开发笔记360翻译了Chrome插件开发的文档
(仍然建议出去看看)看这里http://open.chrome.360.cn/extension_dev/overview.html什么是扩展一个应用(扩展)其实是压缩在一起的一组文件,包括HTML,CSS,Javascript脚本,图...
分类:
其他好文 时间:
2014-05-28 01:49:25
阅读次数:
896
A星寻路算法真是我一生接触的第一个人工智能算法了。。。
A星寻路算法显然是用来寻路的,应用也很普遍,比如梦幻西游。。。算法的思路很简单,就是在bfs的基础上加了估值函数。 它的核心是 F(x) = G(x) +
H(x) 和open、close列表: G(x)表示从起点到X点的消耗(或者叫...
分类:
编程语言 时间:
2014-05-26 19:16:57
阅读次数:
413
什么是PHP: PHP指PHP:超文本预处理器(译者注:PHP:Hypertext
Preprocessor,递归命名) PHP是一种服务器端的脚本语言,类似ASP PHP脚本在服务器上执行 PHP支持很多数据库
PHP是一个开源的软件(open source software,OSS)什...
分类:
Web程序 时间:
2014-05-26 00:01:16
阅读次数:
424
Cannot find executable for CFBundle 0x8f4d850 (not
loaded)解决办法:还原模拟器。
分类:
其他好文 时间:
2014-05-25 23:36:51
阅读次数:
313
Elasticsearch is a powerful open source search
and analytics engine. The vulnerability allows attackers read from or append to
files on the system hos...
分类:
其他好文 时间:
2014-05-25 16:40:56
阅读次数:
349
loadHeadersFromResource(R.xml.settings_headers, headers);
error: xml cannot be resolved or is not a field, but res/xml/settings_headers.xml exists.
Every xml file will have its own ID in R.java,...
分类:
其他好文 时间:
2014-05-25 16:19:23
阅读次数:
206