- 博客(2)
- 资源 (1)
- 收藏
- 关注
转载 剪刀 石头 布
computer = rand() % 3; result = ((man - computer)+ 4) % 3 -1 if (result == 1) "You Win" if(result == 0) ''Draw" if(result == -1) "You Close" 剪刀 0, 石头 1, 布 2;
2012-02-07 13:19:44
389
转载 cc++ 常见试题(1)
C/C++程序员应聘常见面试题 1, 关于字符串 试题1: void test1() { char string[10]; char* str1 = "0123456789"; strcpy( string, str1 ); } 解答: 字符串str1需要11个字节才能存放下(包括末尾的’\0’),而s
2012-02-02 15:46:59
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅