摘要:
#include #define M 15 //M表示人数,N表示报号退出的数字int main(){ int str[M]; for(int a = 0;a 1) //直到只剩一人退出循环 { if (str[i] != 0)//最后没有的时候就不用计算了 count++;... 阅读全文
posted @ 2015-08-28 15:33
z小姐的iOS
阅读(632)
评论(0)
推荐(0)
摘要:
#import int main(int argc, const char * argv[]) { @autoreleasepool { NSArray * arr=@[@"zero",@"one",@"two",@"three",@"for",@"five",@"six",@"seven",... 阅读全文
posted @ 2015-08-28 15:29
z小姐的iOS
阅读(342)
评论(0)
推荐(0)
摘要:
#importint main(){@autoreleasepool{NSString *str1 = @"150";NSString *str2 = @"100";//intValue 是返回一个int类型的字符串int num1 =[str1 intValue];int num2 =[str2 ... 阅读全文
posted @ 2015-08-28 15:25
z小姐的iOS
阅读(142)
评论(0)
推荐(0)

浙公网安备 33010602011771号