码迷,mamicode.com
首页 >  
搜索关键字:namespace    ( 41927个结果
双色球——最终版
namespace 刘老师双色球{ class Program { static void Main(string[] args) { int count = 0; Console.WriteLine("请输入你的双色球号码"); ArrayList Ual = new ArrayList(); f...
分类:其他好文   时间:2015-04-08 23:17:52    阅读次数:160
ArrayList集合的语句示例
namespace ArrayList集合的语句示例{ class Program { static void Main(string[] args) { //一:Stack集合(没有索引) 先进后出,一个一个赋值,一个一个取值,按顺序 //Stack ss = new Stack(); //ss....
分类:其他好文   时间:2015-04-08 23:17:44    阅读次数:201
集合ArrayList习题练一练——分数
namespace 集合习题练一练{ class Program { static void Main(string[] args) { Console.WriteLine("请输入你们班的人数:"); int n = Convert.ToInt32(Console.ReadLine()); Arr...
分类:其他好文   时间:2015-04-08 23:13:37    阅读次数:220
二维数组最大子数组的和
#include#define N 5using namespace std;int main(){ int a[4][5]={1,2,-1,-4,-20,-8,-3,4,2,1,3,8,10,1,3,-4,-1,1,7,-6},i,j; for(i=0;i<N-1;i++) { ...
分类:编程语言   时间:2015-04-08 23:12:15    阅读次数:199
集合ArrayList双色球练一练(自己的方法,太麻烦)
namespace 集合__双色球练一练{ class Program { static void Main(string[] args) { // while (true) // { // ArrayList al = new ArrayList(); // al.Add(1); al.Add(....
分类:其他好文   时间:2015-04-08 23:05:25    阅读次数:117
sizeof()函数求各类型变量所占空间的方法
#include "stdafx.h" #include using namespace std; void func(char str[100]) { cout<<sizeof(str)<<endl; } int main() { char str[100]; func(str); //str传入...
分类:其他好文   时间:2015-04-08 23:03:27    阅读次数:221
英雄联盟对战
namespace 英雄联盟对战{ class Program { struct player { public string name; public int hp; public int gj; public int fy; public int dj; public jn jineng; /....
分类:其他好文   时间:2015-04-08 23:03:03    阅读次数:282
堆栈数组实现
//堆栈,数组实现#includeusing namespace std;#define Maxsize 100class stack{public: int data[Maxsize]; int top = -1; //保存栈顶下标值};int pop(stack*ptrl);...
分类:编程语言   时间:2015-04-08 22:59:34    阅读次数:204
集合与特殊集合
namespace 集合与特殊集合{ class Program { static void Main(string[] args) { ArrayList al = new ArrayList(); al.Add("李青"); al.Add("约里克"); al.Add("安妮"); al.Add...
分类:其他好文   时间:2015-04-08 22:49:35    阅读次数:151
nyoj-兰州烧饼
被这道题吓到了,看起来很复杂#include using namespace std;int main(){ int n,k; while(cin >> n >> k) { if(n 0) cout << (2*n/k...
分类:其他好文   时间:2015-04-08 22:49:14    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!