Dim fso,f,a set oExcel = CreateObject( "Excel.Application" ) oExcel.Visible = false '4) 打开已存在的工作簿: oExcel.WorkBooks.Open( "F:\1.xlsx" ) On Error Resum... ...
分类:
其他好文 时间:
2017-08-26 12:50:16
阅读次数:
206
在这里介绍Geomystery(几何迷城)的游戏引擎设计与实现。 业务逻辑:引擎采用模块化的MVC(Model模型,View视图,Controller控制)设计方式,这样有助于运用多种设计模式,便于日后的修改与维护。 M模型坐标系中的模型是被操作的对象,模型坐标系是被“显示坐标系”显示的单位。 V视 ...
分类:
其他好文 时间:
2017-08-26 12:38:26
阅读次数:
202
WSDL文件 文档结构: 0.根元素 <?xml version="1.0" encoding="UTF-8"?><wsdl:definitions targetNamespace="http://cmcc.trans" xmlns:tns="http://cmcc.trans" xmlns:wsd ...
分类:
其他好文 时间:
2017-08-26 11:39:41
阅读次数:
234
P3038 [USACO11DEC]牧草种植Grass Planting 题目描述 Farmer John has N barren pastures (2 <= N <= 100,000) connected by N-1 bidirectional roads, such that there ...
分类:
其他好文 时间:
2017-08-26 11:39:13
阅读次数:
147
Period of an Infinite Binary Expansion POJ - 3358 题意:给一个分数,让求其二进制形式的最小循环节ans2和循环节开始的位置ans1。 以下内容转自http://blog.csdn.net/u013508213/article/details/4249 ...
分类:
其他好文 时间:
2017-08-26 11:27:02
阅读次数:
196
Save the txt with UTF format and then open the file with f1 = open(path, encoding = 'utf') ...
分类:
其他好文 时间:
2017-08-26 10:19:49
阅读次数:
182
1.vscode-color-highlight 颜色代码高亮插件。(sublime text也有) 2.vscode-Open in Browser 右键在浏览器打开。(sublime text也有) 3.vscode-Path Intellisense 文件路径提示。(sublime text也 ...
分类:
其他好文 时间:
2017-08-25 18:15:15
阅读次数:
285
mysql 默认链接数是100个 最大是16384。 原则:想尽一切办法不重启 导致原因: 出现这种错误明显就是 mysql_connect 之后忘记 mysql_close;当大量的connect之后,就会出现Too many connections的错误,mysql默认的连接为100个,而什么情 ...
分类:
数据库 时间:
2017-08-25 15:59:37
阅读次数:
168
843A - Sorting by Subsequences 还好之前了解过一点白书上的permutation! 我写的递归,其实很容易直接写成递推啊 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e5+10; ...
分类:
其他好文 时间:
2017-08-25 11:04:49
阅读次数:
224
官方地址:https://www.codeproject.com/Articles/20574/Open-Source-QRCode-Library 有源代码和示例程序 支持二维码编码(生成)和解码(识别) 似乎不支持中文,不过可以自己修改源代码的编码格式来支持中文 我比较关注二维码识别功能,所以比 ...
分类:
其他好文 时间:
2017-08-25 11:00:17
阅读次数:
249