首先请大家读一下面这篇文章了解什么是Gdal http://blog.csdn.net/grllery/article/details/77822595 剩下的我要公布绘制富士山的代码了,虽然基本copy虾神的路子,我加入一些注释方便理解 # -*- coding: utf-8 -*-from mp ...
分类:
编程语言 时间:
2017-10-26 13:35:49
阅读次数:
274
json::value test; 以下4中情况,都会返回true test.isArray(); test.isObject(); test.isNull(); test == Json::nullValue; 执行下面的操作后, test.append("1"); test.isObject() ...
分类:
编程语言 时间:
2017-10-26 13:34:17
阅读次数:
201
//var query = from d in expenseApplyModel.ApplyBillList.AsEnumerable() // group d by d.ExpenseItemID into g // select new // { // ExpenseItemID = g.Ke ...
分类:
其他好文 时间:
2017-10-26 11:54:34
阅读次数:
225
F12(或Ctrl+Shift+J或Ctrl+Shift+I)--> NetWork --> Disable Cache(while DevTools is open) ...
分类:
其他好文 时间:
2017-10-26 11:52:44
阅读次数:
222
The Under Armour Curry 4 feels like the true successor to the Curry 2. YOU CAN FIND THE UA CURRY 4 whtie black AVAILABLE AT hoopjordan.com STARTING OC ...
分类:
其他好文 时间:
2017-10-26 11:49:10
阅读次数:
259
CPenpen;//画笔
pen.CreatePen(PS_SOLID,1,m_coForeColor);
CPen*pOldPen=theMemDC.SelectObject(&pen);
LOGBRUSHlogBrush;
logBrush.lbStyle=BS_SOLID;
logBrush.lbColor=m_coForeColor;
CBrushbrush;
brush.CreateBrushIndirect(&logBrush);
CBrush*pOldBrush=theMe..
分类:
编程语言 时间:
2017-10-26 00:06:33
阅读次数:
214
一、程序中的错误处理 在系统中定义了一个全局变量errno。在这个全局变量中存放着系统调用或者库函数出错的信息(错误编号)。然后根据错误编号获取错误信息。 举例说明: 打开一个文件,如果这个文件不存在,查看错误信息。 代码参见 file.c perror(3) strerror(3) #includ... ...
分类:
数据库 时间:
2017-10-25 23:59:20
阅读次数:
410
题目大意:01矩阵,1表示黑色,0表示白色,求将白色染成黑色最少的次数 使黑色成为一整个联通块。 题解: 搜索bfs 90... dfs判断连通 #include<iostream> #include<cstdio> #include<cstring> #include<queue> using n ...
分类:
其他好文 时间:
2017-10-25 23:59:12
阅读次数:
373
1419 最小公倍数挑战 几天以前,我学习了最小公倍数。玩得挺久了,想换换口味。 我不想用太多的数字,我想从1到n中选三个数字(可以相同)。使得他们的最小公倍数最大。 Input 单组测试数据。 第一行有一个整数n (1≤n≤1,000,000)。 Output 输出一个整数表示选三个数字的最大的最 ...
分类:
其他好文 时间:
2017-10-25 21:46:08
阅读次数:
135