![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符串
文章平均质量分 83
Gao_zi
这个作者很懒,什么都没留下…
展开
-
C语言04 -- 一维数组,字符串
// // main.m // C4–一维数组 // // Created by dllo on 15/7/3. // Copyright (c) 2015年 Gaozi. All rights reserved. //import // 最小公倍数printf(“主人,请您输入您喜欢的两个数吧!\n”); int m = 0, n = 0; scanf(“%原创 2015-07-20 19:36:42 · 2029 阅读 · 0 评论 -
OC的字符串
//一. 不可变字符串创建的方法//1. 字面量 NSString *str1 =@"hello world";//2. 通过alloc 和init 创建一个空字符串. NSString *str2 = [[NSString alloc]init]; str2 = @"hello world"; NSLog(@"%@",st原创 2015-07-20 17:03:23 · 664 阅读 · 0 评论 -
C语言05 -- 二维数组
// // main.m // C5—二维数组与函数 // // Created by dllo on 15/7/6. // Copyright (c) 2015年 Gaozi. All rights reserved. //import // 二维数组int arr[5] = {}; char str[] = {}; char str1[9] = “lal\原创 2015-07-20 19:39:56 · 521 阅读 · 0 评论