自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(112)
  • 资源 (8)
  • 收藏
  • 关注

原创 QT之Layout

#include #include #include #include #include #include #include int main(int argc, char* argv[]){ /*构造一个应用程序*/ QApplication app(argc,argv); /*构造一个窗口*/ QWidget window;#if 0

2017-08-29 23:03:14 924

原创 QT之LineEdit

#include #include /*输入框类*/#include #include int main(int argc, char* argv[]){ /*构造一个应用程序*/ QApplication app(argc,argv); /*构造一个窗口*/ QWidget window; /*构造一个输入框*/ QLineEdit

2017-08-29 21:47:16 1844

原创 QT之Hello World

/*应用程序抽象类*/#include /*窗口类*/#include /*按钮类*/#include int main(int argc, char* argv[]){ /*构造一个应用程序*/ QApplication app(argc,argv); /*构造一个窗口*/ QWidget window; /*构造一个按钮*/ QPu

2017-08-29 21:25:10 598

原创 Oracle之游标

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include "sqlca.h"#pragma comment(lib,"orasql11.lib")//serverid 宿主变量EXEC SQL BEGIN DECLARE SECTION; char * serverid = "scott/scott@o

2017-08-21 11:17:56 387

原创 Oracle之使用proc查询多行数据

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include "sqlca.h"#pragma comment(lib,"orasql11.lib")//serverid 宿主变量EXEC SQL BEGIN DECLARE SECTION; char * serverid = "scott/scott@o

2017-08-21 11:17:19 1035 1

原创 Oracle之使用proc增删改查

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include "sqlca.h"#pragma comment(lib,"orasql11.lib")//serverid 宿主变量EXEC SQL BEGIN DECLARE SECTION; char * serverid = "scott/scott@o

2017-08-20 12:31:21 1382

原创 Oracle之使用proc连接数据库

1、使用VS2017创建一个C++项目,然后创建一个hello.pc的文件,并编写如下代码:#include #include #include "sqlca.h"#pragma comment(lib,"orasql11.lib")//serverid 宿主变量EXEC SQL BEGIN DECLARE SECTION; char * serverid = "scott/s

2017-08-20 11:31:05 1683

原创 VS2017整合proc(C++篇)

1、使用VS2017 新建一个空的C++项目,然后添加一个名叫hello.proc的文件,并编写如下代码:2、在hello.proc文件上右击,选择属性;3、在打开的属性面板中,我们点击左边列表栏中的常规选项,然后在右边的项类型中选择自定义生成工具,单击应用后,右边的列表栏会多出一个自定义生成工具选项;4、点击自定义生成工具选项,然后在右边的命令行栏中输入编译.

2017-08-20 10:56:39 1799

原创 VS2017整合proc(C语言篇)

1、使用VS2017 新建一个空的C++项目,然后添加一个名叫hello.proc的文件,并编写如下代码:2、在hello.proc文件上右击,选择属性;3、在打开的属性面板中,我们点击左边列表栏中的常规选项,然后在右边的项类型中选择自定义生成工具,单击应用后,右边的列表栏会多出一个自定义生成工具选项;4、点击自定义生成工具选项,然后在右边的命令行栏中输入编译.

2017-08-20 10:24:44 2087

原创 Oracle之DML

1、insert (1)插入单行完整记录 SQL> insert into emp values (7523, 'SABER', 'SALESMAN', 7698, '17-12月-89', 8000, NULL, 30); 已创建 1 行。 (2)插入部分记录 SQL> insert into emp(empno, ename, deptno ) values (7555

2017-08-20 09:31:44 340

原创 Oracle之子查询

1、为什么要有子查询 bg:查询工资比scott高的员工信息 查询scott的工资 SQL> select sal from emp where ename = 'SCOTT'; SAL ---------- 3000 查询比工资比3000大的员工 SQL> select * from emp where sal > 3

2017-08-20 09:29:33 649

原创 Oracle之多表查询

1、等值连接 eg:查询员工信息、员工号、姓名、月薪和部门名称 SQL> select e.empno,e.ename,e.sal,d.dname 2 from emp e,dept d 3 where e.deptno = d.deptno; EMPNO ENAME SAL DNAME ---------- ------

2017-08-20 09:24:46 305

原创 Oracle之分组函数

1、组函数 (1)获取员工表员工的平均工资、工资总和、工资的最大值、工资的最小值以及工资记录数 SQL> select avg(sal) 平均工资,sum(sal) 工资总和,max(sal) 最大值,min(sal) 最小值,count(sal) 记录数 2 from emp; 平均工资 工资总和 最大值 最小值 记录数 -----

2017-08-20 09:23:41 343

原创 Oracle之单行函数

1、字符函数 (1)大小写转换 SQL> select lower('HELLO') 小写,upper('hello') 大写,initcap('hello world') 首字母大写 from dual; 小写 大写 首字母大写 ----- ----- ----------- hello HELLO Hello World (2)字符串连接 SQL> se

2017-08-20 09:22:12 387

原创 Oracle基本操作

1、普通用户登录:方式一: C:\Users\Administrator>sqlplus scott/scott(用户名/密码) SQL*Plus: Release 11.2.0.1.0 Production on 星期五 8月 11 21:53:53 2017 Copyright (c) 1982, 2010, Oracle. All rights reserved. 连接到

2017-08-20 09:20:03 319

原创 Openlayers之离线加载ArcGIS Server瓦片

1、之前介绍了使用TileArcGISRest和XYZ的方式加载ArcGIS Server瓦片的方式,这两种方式虽然方便,但有一个弊端就是过于依赖ArcGIS Server服务,如果ArcGIS Server的服务挂了,那么所有的瓦片都将无法成功加载,而且随着瓦片服务的增加,也会增加服务器资源的开销,降低性能,所以我们需要使用离线的方式来加载瓦片,与瓦片服务完全分离。在Openlayers中,给我

2017-08-16 16:21:25 4326 5

原创 Openlayers之加载ArcGIS Server瓦片(XYZ方式)

1、打开ArcGIS Server Manager查看已经切好的瓦片的信息,这些信息会在后面的加载瓦片过程中使用,我们先来看看哪些信息是很重要的:2、准备工作完成后,下面我们开始加载瓦片,其中我们会用到一个比较重要的类ol.tilegrid.TileGrid,该类的构造参数自己查看官方API,具体代码如下:

2017-08-16 15:32:16 10012 2

原创 Openlayers之加载ArcgisServer的切片(TileArcGISRest加载方式)

1、先使用ArcGIS Server切好瓦片地图,切完以后在ArcGIS Server Manager中找到该瓦片的访问地址,如图所示:2、ol.source.TileArcGISRest类    Openlayers的API中提供了一个专门用来加载ArcGIS Server切片服务的类ol.source.TileArcGISRest,其具体描述如下:       Laye

2017-08-15 17:24:59 12217 1

原创 Oracle之where子句和order by子句

1、查询比81年1月1号 入职晚的员工 SQL> select * from emp where hiredate > '01-1月 -81'; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- -

2017-08-14 21:44:52 2599

原创 Oracle之基本select语句

1、显示所有列 SQL> select * from dept; DEPTNO DNAME LOC --------- -------------- ------------- 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES C

2017-08-14 21:35:43 384

原创 坐标系统

2017-08-02 16:46:54 277

原创 Tomcat内存溢出解决办法

1、今天使用Tomcat部署Geoserver的时候,刚启动Tomcat,结果报了一大堆错误,然后查看一下错误原因,发现是PermGen space内存溢出,那么解决办法也比较简单了,直接加大JVM的内存就可以了;2、错误原因说明:PermGen space的全称是Permanent Generation space,是指内存的永久保存区域,这块内存主要是被JVM用来存放Class

2017-07-17 14:21:39 494

翻译 Image Load Events——图像加载事件

Image sources fire events related to image loading. You can listen forimageloadstart,imageloadend, andimageloaderror type events to monitor image loading progress. This example registers listene

2017-07-05 14:59:31 2829

翻译 Icon Symbolizer——图标符号

Example using an icon to symbolize a point.使用图标来表现一个点的例子。代码: Icon Symbolizer #map { position: relative; }

2017-07-05 10:59:32 744

翻译 Icon Sprites with WebGL——WebGL图标精灵

In this example a sprite image is used for the icon styles. Using a sprite is required to get good performance with WebGL.在这个例子中,图标精灵用于图标样式。使用精灵需要WebGL获取好的性能。代码: Icon Sprites with WebG

2017-07-05 10:42:20 642

翻译 Icon Pixel Operations——图标像素操作

Example using an icon to symbolize a point. Click on the icon to select it, and it will be rendered using its negative image.使用图标来为点设置样式的例子。单击图标并选择它,它就会使用负片进行渲染。代码: Icon Pixel Operatio

2017-07-04 17:17:16 1327

翻译 Icon Colors——图标颜色

Example assigning a custom color to an icon. The features in this examples are all using the same image with the different colors coming from the javascript file. Note that icon files need to obey the

2017-07-04 16:06:37 2335

翻译 Hit Tolerance——hit容差

By default, the map.forEachFeatureAtPixel() function only considers features that are directly under the provided pixel. This can make it difficult to interact with features on touch devices. To consi

2017-07-04 14:58:15 857

翻译 Earthquakes Heatmap——地震热点图

This example parses a KML file and renders the features as aol.layer.Heatmap layer.这个例子解析一个KML文件并渲染要素为一个ol.layer.Heatmap图层。代码: Earthquakes Heatmap

2017-07-04 14:08:30 996

翻译 Map Graticule——地图坐标网

This example shows how to add a graticule overlay to a map.这个例子用来展示如何在地图上面添加坐标网。代码: Map Graticule var map = new ol.Map({ layers: [

2017-07-04 11:44:16 897

翻译 GPX Data——GPX数据

Example of using the GPX source.使用GPX数据源的例子。代码: GPX Data   // 必应瓦片地图 var raster = new ol.layer.Tile({ source: new ol.source

2017-07-04 11:32:17 2859

翻译 WMS GetFeatureInfo (Tile Layer)——WMS获取要素信息(瓦片图层)

This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS tile layer. Additionallymap.forEachLayerAtPixel is used to change the mouse pointer when hovering a non-transparent p

2017-07-04 11:08:51 3664

翻译 WMS GetFeatureInfo (Layers)——WMS获取要素信息(图层)

All features:6Hotel features:2Restaurant features:4Demonstrates the use of the layers option in the ol.format.WMSGetFeatureInfo format object, which allows features r

2017-07-04 10:59:28 2745

翻译 WMS GetFeatureInfo (Image Layer)——WMS获取要素信息(图像图层)

This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS image layer. Additionallymap.forEachLayerAtPixel is used to change the mouse pointer when hovering a non-transparent

2017-07-04 10:24:08 6035 1

翻译 Geolocation——地理位置

This example uses the Geolocation API to control the view.这个例子使用Geolocation的API来控制视图。代码: Geolocation track position

2017-07-04 09:57:15 917

翻译 GeoJSON

Example of GeoJSON features.GeoJSON要素的例子。代码: GeoJSON // 点样式 var image = new ol.style.Circle({ radius: 5, fill: null,

2017-07-04 09:34:23 2683

翻译 Full Screen Control——全屏控件

Click the control in the top right corner to go full screen. Click it again to exit full screen.单击右上角的按钮实现全屏,再次单击退出全屏。If there is no button on the map, your browser does not support theFul

2017-07-03 17:40:47 1432

翻译 Full Screen Control with extended source element——全屏控件与扩展源要素

Click the control in the top right corner to go full screen. Click it again to exit full screen.单击右上角的按钮实现全屏,再次单击退出全屏。If there is no button on the map, your browser does not support theFull

2017-07-03 17:34:23 702

翻译 Full Screen Drag, Rotate, and Zoom——全屏、旋转和缩放

Hold down Shift+Drag to rotate and zoom. Click the button in the top right corner to go full screen. Then do theShift+Drag thing again.按住Shift键并拖动鼠标来旋转和缩放。单击右上角的按钮实现全屏,然后可以再次按住Shift键拖动鼠标来旋转和缩放地图

2017-07-03 17:25:07 993

翻译 Custom Animation——自定义动画

This example shows how to use postcompose and vectorContext to animate features. Here we choose to do a flash animation each time a feature is added to the layer.这个例子用来展示如何使用postcompose和vectorCo

2017-06-30 15:30:06 2158

程序员的数学1_高清版

日本结城浩所著,内容通俗易懂但又不乏深度,高清版哦

2017-08-25

数据结构与算法JavaScript描述

美国 Michael McMillan 所著《Data Structures and Algorithms with JavaScript》,中文版

2017-08-25

数据结构与算法——C++版

Mark Allen Weiss《数据结构与算法——C++语言描述》原书第三版,中文

2017-08-25

C++标准库说明文档

C++标准库开发文档

2017-07-03

HTML5英文原版游戏开发教程

2017-01-09

Hibernate中文API文档

Hibernate的中文API文档,需要的赶紧拿走吧

2016-09-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除