【问题】Game.h包含了Ship.h,并且Ship.h也包含了Game.h。然后在Game.h中声明了一个成员变量为Ship类:Ship*ship;会出现找不到Ship类的错误。【解决】在Game.h头文件中对Ship类进行声明即可:classShip;【扩展】如果在Game.cpp和Ship.cpp中相互包含Game.h与Ship.h。是不会有影..
分类:
其他好文 时间:
2014-09-06 02:17:52
阅读次数:
146
ArcGIS API for Javascript 使用query查询以某个点为半径的圆内的要素出现“esri.config.defaults.io.proxyUrl 尚未进行设置”错误解决办法...
分类:
编程语言 时间:
2014-09-05 16:17:01
阅读次数:
959
一用SVN遇到的问题1.Undefinedsymbolsforarchitecturei386:"_OBJC_CLASS_$_LJLAddress",referencedfrom://LJLAddress是个类objc-class-refinLJLImmediatelyController.o//LJLImmediatelyController是个类ld:symbol(s)notfoundforarchitecturei386clang:error:linkercommandfail..
分类:
其他好文 时间:
2014-09-05 10:09:51
阅读次数:
120
今天使用phpmyadmin的导入功能的时候,由于sql文件过大,服务器出现错误提示了,413RequestEntityToo
Large,google了一下,发现是Nginx的错误提示。解决方法:打开nginx主配置文件nginx.conf,找到http{}段,添加
client_max_body_size100m;fedora下vi/etc/nginx/nginx.conf重..
分类:
其他好文 时间:
2014-09-05 03:16:31
阅读次数:
241
[root@oracle11gr2Packages]#sysctl-pnet.ipv4.ip_forward=0net.ipv4.conf.default.rp_filter=1net.ipv4.conf.default.accept_source_route=0kernel.sysrq=0kernel.core_uses_pid=1net.ipv4.tcp_syncookies=1error:"net.bridge.bridge-nf-call-ip6tables"isanunknownkeyerror:"..
分类:
其他好文 时间:
2014-09-04 19:17:30
阅读次数:
209
用JDBC编程的运行时错误及其解决
用JDBC编程的运行时错误及其解决
源代码:
1、java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
1.1 错误信息:
1.2 错误描述
1.3 错误解决方法
2、用户 'sa' 登录失败
2.1 错误信息:
2.2 错误...
分类:
数据库 时间:
2014-09-04 19:13:00
阅读次数:
438
rsync启动:/usr/bin/rsync--daemon守护进程启动(没装xinetd)如果装了xinetd:servicexinetdstart(二者选一即可)错误:@ERROR:authfailedonmoduleclientrsyncerror:errorstartingclient-serverprotocol(code5)atmain.c(1503)[sender=3.0.6]查看日志显示:authfailedonmodulec..
分类:
其他好文 时间:
2014-09-04 10:37:29
阅读次数:
308
启动不了camera,提示:03-28 23:43:03.640: E/AndroidRuntime(1542): java.lang.RuntimeException: setParameters failed 03-28 23:43:03.640: E/AndroidRuntime(1542):...
分类:
移动开发 时间:
2014-09-03 14:55:36
阅读次数:
217
ECSHOP做的一个网站,突然报这个错误,整个网站打不开,后来找了很久,终于找到这个方法,亲测可用Notice: Undefinedvariable: data in D:\wwwroot\KISS\wwwroot\includes\lib_base.php on line 1241Warning:...
分类:
Web程序 时间:
2014-09-03 14:36:26
阅读次数:
160
软件坏境:Sqlserver 2012 R2问题1:从其它电脑上拷贝的数据库源文件用当前电脑(Sqlserver)来附加数据库报如下错误: 解决方法:打开开始→程序→Microsoft SQL Server 2005→配置工具→SQL Server 配置管理器-> SQL Server服务->SQL...
分类:
数据库 时间:
2014-09-03 00:08:15
阅读次数:
309