码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
Effective C++ Notes
Item 07 : 为多态基类声明virtual析构函数 1 #include 2 using namespace std; 3 4 class Base { 5 public: 6 Base() : bValue(1) {} 7 virtual ~Base() { cout p...
分类:编程语言   时间:2015-06-27 16:18:07    阅读次数:106
股票代码3
通达信普通行情接口, 提供的数据主要为A股行情数据, 使用方法: 先点击连接, 然后可以获取行情数据;using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropService...
分类:其他好文   时间:2015-06-27 16:16:03    阅读次数:331
C++ string 与 int 等类型 的相互转换
看到网上有许多关于这个的实现,而且会涉及到细节的处理。为了以后方便的使用,在此提供可以直接可以使用的函数。 1 #include 2 #include 3 using namespace std; 4 5 template // 要与string转换的类型 6 Type stringA...
分类:编程语言   时间:2015-06-27 16:14:41    阅读次数:127
股票代码1
http://chaoguwaigua.com/downloads/L2HqApiCSharp.txt通达信L2行情接口, 包括普通行情接口所有功能, 并新增了十档行情, 逐笔成交,买卖队列和深圳逐笔委托(上海证券交易所不对外提供逐笔委托数据)这四个新功能.using System;using Sy...
分类:其他好文   时间:2015-06-27 16:10:58    阅读次数:319
股票代码2
通达信扩展行情接口, 提供的数据主要为期货、期权、三板和港股行情数据using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Te...
分类:其他好文   时间:2015-06-27 16:07:15    阅读次数:228
c#代码实现百度搜索页面网页遍历
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
分类:Windows程序   时间:2015-06-27 16:00:39    阅读次数:146
Calculate CRC32 as in STM32 hardware (EWARM v.5.50 and later)
http://supp.iar.com/Support/?note=64424&from=note+11927BackgroundThe STM32 devices from ST Micro have a built-in hardware CRC32 calculator. (So using ...
分类:其他好文   时间:2015-06-27 16:00:03    阅读次数:295
UVa1339 Ancient Cipher
#include #include #include // for memset#include using namespace std;int main(){ int ce[26], co[26]; string encrypted, orginal; string::size_type i, ....
分类:其他好文   时间:2015-06-27 15:57:06    阅读次数:106
杭电ACM1197——Specialized Four-Digit Numbers
题目的意思是从2992开始的四位数,每一个四位数的10,12,16进制的数的每一位加起来都相等,就输出该数。 很简单的一道题目。 下面的是AC的代码: #include using namespace std; int main() { int i, j, k, n, m; for(i = 2992; i < 10000; i++) { n = 0...
分类:其他好文   时间:2015-06-27 11:44:09    阅读次数:107
C++ 实现MST kruskal's algorithm
#include #include #include #include #include using namespace std; enum{ INF = INT_MAX }; struct Edge{ int from; int to; int Wgt; Edge(int _from, int _to, int _Wgt = INF) : from(_from), to(_...
分类:编程语言   时间:2015-06-27 11:37:58    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!