摘要:
class StringPattern {public: void findnext(string B, int *next){ next[0] = -1; int k = -1; int j = 0; while (j < B.length()-1) { if (k == -1 || B[j] = 阅读全文
摘要:
记录一些做论文实验写代码时遇到的问题。 数据库SQL语句方面: 1.java通过JDBC连接MySql数据库方法 参见:http://hzy3774.iteye.com/blog/1689525 2.出现错误java.sql.SQLException: Can not issue data mani 阅读全文
摘要:
在运行java程序时,出现了错误“selection does not contain a main type”。 是因为.java文件不在项目的src路径内,也就是说源代码未被eclipse编译,字节码不存在无法运行了。我在新建java project时勾选了Create separate fol 阅读全文