1 //经纬度转Wev墨卡托 2 dvec3 CMathEngine::lonLat2WebMercator(dvec3 lonLat) 3 { 4 dvec3 mercator; 5 double x = lonLat.x *20037508.34/180; 6 do...
分类:
Web程序 时间:
2014-07-23 20:38:25
阅读次数:
217
系统启动配置文件:/etc/inittab # Default runlevel. The runlevels used are: #?? 0 - halt (Do NOT set initdefault to this) #?? 停止系统运行 #?? 1 - Single user mode #?? 进入单用户模式,不带网...
分类:
系统相关 时间:
2014-07-23 17:37:31
阅读次数:
248
Message Flood
Time Limit: 1500ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Well, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and ...
分类:
其他好文 时间:
2014-07-23 17:19:52
阅读次数:
251
先看下面一个例子#import #import "AppDelegate.h"@interface Something : NSObject- (void)doWithError:(NSError **)outError;@end@implementation Something- (void)do...
分类:
其他好文 时间:
2014-07-23 16:44:01
阅读次数:
212
Problem Description
During summer vacation,Alice stay at home for a long time, with nothing to do. She went out and bought m pokers, tending to play poker. But she hated the traditional gameplay. S...
分类:
其他好文 时间:
2014-07-23 16:36:51
阅读次数:
304
拦截规则配置1. *.do appServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-...
分类:
编程语言 时间:
2014-07-23 16:28:41
阅读次数:
278
1. 变量提升: 只对var声明的变量有效。 2. 标识符:数字,下划线,unicode字母,数字不能开头。 3. switch与case的值比较使用严格相等=== 4.do{}while(); 记住加分号。 5. 标签top: 使用break top; 跳到标签 6.数据类型number,stri...
分类:
编程语言 时间:
2014-07-23 15:05:56
阅读次数:
208
$.ajax({
dataType : ‘json',type : ‘POST',url : ‘http://localhost/test/test.do',data : {id: 1, type: ‘商品'},success : function(data){ } } );
问题:
提交后后台action程序时,取到的type是乱码
解决方法:
方法一:提交前采用enc...
分类:
Web程序 时间:
2014-07-23 13:03:56
阅读次数:
296
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=648Circuit BoardTime Limit:2 Seconds Memory Limit:65536 KBOn the circuit board, there ar...
分类:
其他好文 时间:
2014-07-23 12:24:46
阅读次数:
274
一组外企iOS开发的笔试题,您能回答出来吗?从群里收集来的。1 why can't NSArray contain NSInteger Instance? with which extra step can you do it?2.complete this code so that it beco...
分类:
移动开发 时间:
2014-07-23 12:08:16
阅读次数:
240