主题:定义函数shuffle洗扑克牌
嘎嘎121
[专家分:0] 发布于 2012-11-27 14:22:00
怎样做到随机呢?怎样显示黑桃,红桃,方块,还有剩余的又是怎么表示出来的呢???求赐教啊!!!!
回复列表 (共3个回复)
沙发
嘎嘎121 [专家分:0] 发布于 2012-11-28 22:01:00
//********** Specification of shuffle **********
void shuffle(int arr[],int n);
/* PreCondition:
arr: n elements of arr are all -1
PostCondition:
place 0~n-1 in arr randomly. All elements should be distinct each other.
*/
板凳
嘎嘎121 [专家分:0] 发布于 2012-11-28 22:02:00
//********** Specification of shuffle **********
void shuffle(int arr[],int n);
/* PreCondition:
arr: n elements of arr are all -1
PostCondition:
place 0~n-1 in arr randomly. All elements should be distinct each other.
*/
3 楼
biansky [专家分:10] 发布于 2013-01-31 17:09:00
分析的不错------------------------------------------ using the same to build the body of the shoes.[url=http://www.freesaleaustralia.com/nike-free-run-3-c-7.html]Nike Free Run 3[/url],[url=http://www.freesaleaustralia.com/nike-free-50-c-10.html]Nike Free 5.0[/url] , [url=http://www.freesaleaustralia.com/nike-free-40-c-16.html]Nike Free 4.0[/url]
我来回复