急求,用C#写的斗地主源码 如题,最好是能连网的,单机的也行,简单的就好了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 又是一个可以写一本书的问题 http://topic.csdn.net/u/20081023/14/c508524a-cbe8-400b-a97c-e3856312522d.html 呵呵 using System;// 冒泡排序namespace BubbleSorter{ public class NewBubbleSorter { public void newSort(int[] list) { int[] Temparry = new int[list.Length]; int[] arryCard2 = new int[list.Length]; bool done = false; int j = 1, i, temp; // 冒泡算法開始 for (int Q = 1; Q < 2; Q++) { while ((j < list.Length) && (!done)) { done = true; for (i = 0; i < list.Length - j; i++) { if (list[i] > list[i + 1]) { done = false; temp = list[i]; list[i] = list[i + 1]; list[i + 1] = temp; } } j++; } for (int w = 0; w < list.Length; w++) { arryCard2[w] = list[w]; Temparry[w] = list[w] % 100; list[w] = Temparry[w]; } j = 1; done = false; Array.Sort(list, arryCard2); } // 大小重排 21KQJ109876543 for (int t = 0; t < list.Length ; t++) { Temparry[t] = arryCard2[t]; } for (int a = 0, q = 16; a < list.Length ; a++, q--) { arryCard2[a] = Temparry[q]; list[a] = arryCard2[a]; } } }} 关于压缩解压的问题 C# dll的问题 请问有什么可以代替hook? 构造xml文件的时候,什么时候写成是节点属性,什么时候写成节点值呢?web.config里怎么没有节点值?????? 泛型集合 反射 如何构建一个.dat文件 修改config里面的内容后,运行程序,出现如下错误提示,是怎么回事? 在给一个dropdownlist增加选项时,怎样将value的值和text的值不同呀??? C#中Form1的菜单要直接关联Form2菜单的功能,该怎么办? 在Remoting中客户端如何判断是否与服务器建立了连接 请帮忙,这段C++的Bit位移叙述该如何转为C#? c# 远程控制
又是一个可以写一本书的问题
http://topic.csdn.net/u/20081023/14/c508524a-cbe8-400b-a97c-e3856312522d.html 呵呵
// 冒泡排序namespace BubbleSorter
{
public class NewBubbleSorter
{
public void newSort(int[] list)
{
int[] Temparry = new int[list.Length];
int[] arryCard2 = new int[list.Length];
bool done = false;
int j = 1, i, temp;
// 冒泡算法開始
for (int Q = 1; Q < 2; Q++)
{
while ((j < list.Length) && (!done))
{
done = true;
for (i = 0; i < list.Length - j; i++)
{
if (list[i] > list[i + 1])
{
done = false;
temp = list[i];
list[i] = list[i + 1];
list[i + 1] = temp;
}
}
j++;
}
for (int w = 0; w < list.Length; w++)
{
arryCard2[w] = list[w];
Temparry[w] = list[w] % 100;
list[w] = Temparry[w];
}
j = 1;
done = false;
Array.Sort(list, arryCard2);
}
// 大小重排 21KQJ109876543
for (int t = 0; t < list.Length ; t++)
{
Temparry[t] = arryCard2[t]; }
for (int a = 0, q = 16; a < list.Length ; a++, q--)
{
arryCard2[a] = Temparry[q];
list[a] = arryCard2[a];
} } }
}