遇到的问题
我们在编程中需要把数据封装成一个类,调用pthread_create 利用成员函数去创建一个线程往往是不成功的!
error: argumentof type ‘void* (Threadpool::)(void*)’ does not match ‘void* (*)(void*)’
出现类型不匹配的问题。因为pthread_create需要的参数类型为voi...
分类:
编程语言 时间:
2014-09-14 18:07:37
阅读次数:
243
安装完MySQL后,远程连接数据库的时候,出现 ERROR 1130 (HY000): Host '192.168.0.1' is not allowed to connect to this MySQL server提示信息,不能远程连接数据库。考虑可能是因为系统数据库mysql中user表中的host是localhost的原因,于是,我尝试把这个值改为自己服务器的ip,果然就好用了,不过用
...
分类:
数据库 时间:
2014-09-14 18:06:07
阅读次数:
319
方法一 :web.config配置文件的 system.web 接点下添加,若为On则不会将异常信息反馈到用户,而是友好的跳转到error.htm 方法二:在 FilterConfig.cs 中有 new HandleErrorAttribute() 这样一句话, 此类为微软默认已经有的异常处...
分类:
Web程序 时间:
2014-09-14 17:50:17
阅读次数:
293
div class="container"> 宿舍管理系统 系统管理员 宿舍管理员 学生 记住我 ${error } 登录 重置 版权所有 2014 Lero http://www.lero.com
分类:
Web程序 时间:
2014-09-14 17:50:07
阅读次数:
222
默认用qtcreator5.2.0创建了一个quick项目,却报如下错误:error:cstdlib.h no such file or directory解决方法:打开项目文件untitled4.pro,加上INCLUDEPATH = d:/Soft/cygwin/usr/local/androi...
分类:
移动开发 时间:
2014-09-14 17:49:57
阅读次数:
281
使用qtcreator加androidndk编译项目时报错:error: qrc_qml.obj: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPICerror: undefined reference to '_...
分类:
其他好文 时间:
2014-09-14 16:39:27
阅读次数:
415
1 #include 2 3 using namespace std; 4 //顺序链表 5 #define MAXSIZE 20 6 #define OK 1 7 #define ERROR 0 8 #define TRUE 1 9 #define FALSE 010 typedef int...
分类:
其他好文 时间:
2014-09-14 16:34:57
阅读次数:
182
有些时候你的工程会用到第三方库,比如你会用到一个叫libxxx库,,编译和安装后,你通常会在/usr/local/lib和/usr/local/include/目录下发现有xxx/目录,但是很多时候你在代码中引用libxxx库的头文件时,声明如下:#include 你的代码写好后,你编译时会出现:fatal error: xxx.h: 没有那个文件或目录亦或者是:error: 对'xxx_read...
分类:
其他好文 时间:
2014-09-14 15:26:57
阅读次数:
224
今天遇上了一个非常蛋疼的问题:
本来今天打算在Ubuntu下搭个android开发环境,从官网上下载了Eclipse+ADT,解压,打开,一切正常。
不料,天有不测风云,新建了一个Project,刚刚打算敲代码时,新建了一个类,光标就闪了几下,直接闪退!妈蛋,再试一次,依旧闪退!
看看终端中的信息,如下:
#
# A fatal error has been detected by th...
分类:
系统相关 时间:
2014-09-14 14:08:37
阅读次数:
264
#include#include#define N 5#define NULL 0#define OK 1#define ERROR 0typedef struct LNode{ int data; struct LNode *next;}LNode,*list;void creatLi...
分类:
其他好文 时间:
2014-09-14 14:05:17
阅读次数:
210