码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
单向链表的建立,插入,删除(复习一下)
#include #include #include using namespace std;typedef int datetype;typedef struct node{ datetype date; struct node* next;}listnode,*linklist;l...
分类:其他好文   时间:2015-07-01 11:33:17    阅读次数:98
String与string的区别
概述 本文主要讲解String与string 的区别,涉及String与string的具体知识不多。 String String是c#中的类,String是.net Framework的类(在c# IDE中不会显示蓝色) String始终代表 System.String(1.x) 或 ::System.String(2.0) ,String只有在前面有using System的时候并且当前命名空间中没有名为String的类型(class、struct、delegate、enum)的时候才代表S...
分类:其他好文   时间:2015-07-01 10:03:01    阅读次数:104
poj 1671 Rhyme Schemes 第二类Stirling数
题意: 求s(n,0)+s(n,1)+...s(n,n),s(i,j)为第二类Stirling数。 分析: 有递推公式s(p,k)=(p-1)*s(p-1,k)+s(p-1,k-1) ,1 代码: //poj 1671 //sep9 #include using namespace std; double s[64][64]; double sum[64]; int main() { ...
分类:其他好文   时间:2015-07-01 10:01:04    阅读次数:121
Oracle中使用Entity Framework 6.x Code-First
Oracle中使用Entity Framework 6.x Code-First方式开发去年写过一篇EF的简单学习笔记,当时EF还不支持Oracle的Code-First开发模式,今天无意又看了下Oracle官网,发现EF6.X已经支持了,并且给出了二篇教程(英文版):1.Using NuGet t...
分类:数据库   时间:2015-07-01 09:55:54    阅读次数:152
指针的指针
示例 1 #include 2 using namespace std; 3 int main() 4 { 5 int a = 35; 6 int *b1 = &a; 7 int **b2 = &b1; 8 cout using namespace std;int ...
分类:其他好文   时间:2015-07-01 09:54:33    阅读次数:134
HackerRank - "Stock Maximize"
First I thought it should be solved using DP, and I gave a standard O(n^2) solution:#include #include #include #include using namespace std;#define RE...
分类:其他好文   时间:2015-07-01 07:31:05    阅读次数:158
Codeforces Round #311 (Div. 2)A Ilya and Diplomas
【比赛链接】click here~~ 【题目大意】 n个人,获取一到三等文凭,每门文凭有大小范围,求最后文凭各颁发多少 【解题思路】直接枚举了, 看完题,赶紧写了一发代码,发现居然错过注册时间,系统提示不能提交代码,真是醉了~~,以后还是得提前注册: A题,比较简单: 代码: #include #include using namespace std; int main() { ...
分类:其他好文   时间:2015-07-01 01:05:34    阅读次数:308
poj 3154 Graveyard 贪心
//poj 3154 //sep9 #include #include using namespace std; double a[2048]; double b[2048]; int main() { int n,m; while(scanf("%d%d",&n,&m)==2){ for(int i=0;i<n;++i) a[i]=i*(10000.0/n); for(i...
分类:其他好文   时间:2015-07-01 01:04:31    阅读次数:125
Storm
http://www.quora.com/Are-there-any-tutorials-examples-of-using-Apache-Storm-for-event-log-monitoringhttp://blog.mmlac.com/how-to-pre-process-logs-with...
分类:其他好文   时间:2015-07-01 00:58:40    阅读次数:165
opencv 操作本地摄像头实现录像
直接上代码: // demo1.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include using namespace std; #include #include #include #include using namespace cv; int ...
分类:其他好文   时间:2015-06-30 23:29:33    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!