码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
随机生成三十个二年级的加减乘除法的题目代码
1 #include<iostream> 2 #include<stdlib.h> 3 #include"time.h" 4 using namespace std; 5 void main() 6 { 7 int a, b, i, j, k; 8 for (i = 0; i < 30; i++)
分类:其他好文   时间:2016-03-06 15:54:13    阅读次数:134
第二周 3.6-3.12
3.6 CF 627 A XOR Equation a + b = a ^ b + (a & b << 1) 注意非法情况和0。 1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 typedef long long
分类:其他好文   时间:2016-03-06 15:50:44    阅读次数:189
小学简单四则运算程序
编写语言 :c++ 程序思路: 二位随机数的生成函数 运算符的随机生成函数 真分数的随机生成函数 编写用时:一个小时 程序运行: 程序代码: //刘元柱 2016.3.6#include<iostream>#include<windows.h>#include<time.h>using namesp
分类:其他好文   时间:2016-03-06 15:50:19    阅读次数:210
CAF(C++ actor framework)使用随笔(延迟发送,消息转发,消息优先级)(四)
e). 消息延迟发送(和前面没太大区别直接上代码) #include <iostream> #include "caf/all.hpp" #include "caf/io/all.hpp" #include <string> #include <chrono> using namespace std
分类:编程语言   时间:2016-03-06 15:35:08    阅读次数:321
分数的计算
1、操作符重载 2、类的封装 #include <stdio.h> #include <algorithm> #include <iostream> using namespace std; int gcd(int m,int n)///求最大公约数 { if(n==0) return m; els
分类:其他好文   时间:2016-03-06 15:34:00    阅读次数:159
C# enum
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace struct_enu
分类:编程语言   时间:2016-03-06 12:41:46    阅读次数:188
C#第二节课
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApplication1{ class P
分类:Windows程序   时间:2016-03-06 11:24:34    阅读次数:231
bootstrap table 服务器分页
1.封装MODEL using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace MODEL.FormatModel{
分类:其他好文   时间:2016-03-05 23:47:17    阅读次数:362
四种排序算法的时间比较
四种排序算法的时间比较 #include<iostream> #include<time.h> using namespace std; template<class T> inline void Swap(T& a, T& b); template<class T> void BubbleSort
分类:编程语言   时间:2016-03-05 23:29:41    阅读次数:316
第一次代码30道计算机
#include<iostream> #include <stdlib.h> #include <time.h> #define random(x) (rand()%x) using namespace std; void main() { srand((int)time(0)); for(int
分类:其他好文   时间:2016-03-05 23:29:26    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!