标题:.....
只看楼主
a528284191
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2019-10-4
 问题点数:0 回复次数:1 
.....
       private void Form1_Load(object sender, EventArgs e)
        {
            string[] face = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "j", "q", "k" };
            string[] suit = { "spades", "hearts", "diamonds", "clubs" };
            for (int i = 0; i < deck.Length; i++)
                deck[i] = new Card(face[i % 13], suit[i / 13]);
            current = -1;
        }


[此贴子已经被作者于2019-10-5 22:18编辑过]

搜索更多相关主题的帖子: Length face new string i++ 
2019-10-04 15:47
zbjzbj
Rank: 12Rank: 12Rank: 12
来 自:郑州
等 级:贵宾
威 望:52
帖 子:620
专家分:3020
注 册:2011-4-22
得分:0 
什么名堂?
2019-10-09 01:20



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-497104-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.139291 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved