会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Z了个L
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2015年12月24日
冒泡排序
摘要: #include void maoPao(int arr[], int len){ int temp; for (int i = 0; i arr[j + 1]) { temp = arr[j]; arr[j] = arr[j...
阅读全文
posted @ 2015-12-24 10:09 Z了个L
阅读(111)
评论(0)
推荐(0)
2015年12月23日
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.解决办法
摘要: 或者在这个对应的Source Code中添加NSAppTransportSecurityNSExceptionDomainsbaidu.comNSExceptionAllowInsecureHTTPLoadsNSIncludesSubdomainsNSExceptionRequiresForward...
阅读全文
posted @ 2015-12-23 17:51 Z了个L
阅读(149)
评论(0)
推荐(0)
Xcode环境下, char型常量的存储问题
摘要:
阅读全文
posted @ 2015-12-23 12:58 Z了个L
阅读(230)
评论(0)
推荐(0)
C语言--交换两个变量值,不使用其他变量
摘要: #include int main(int argc, const char * argv[]) { int a = 3, b = 4; printf("a = %d, b = %d\n", a, b); /* 1.加减法 a = b - a; b = ...
阅读全文
posted @ 2015-12-23 10:33 Z了个L
阅读(309)
评论(0)
推荐(0)
C语言--通过运算符,实现10进制转化为2进制输出
摘要: #include void changeTo(int n){ // 计算数的位数 int len = sizeof(n) * 8; int temp; int t; for (int i = 0; i > (len-1-i); t = temp & 1; ...
阅读全文
posted @ 2015-12-23 10:15 Z了个L
阅读(533)
评论(0)
推荐(0)
2015年12月21日
求余的规则
摘要: int m = 10 , n= 3;m % n m除以n之后,取得余数之后10 % 3 == 1m = 0 可以的,0n = 0 不可以,无意义m > n 正常求余即可m < n 结果为m求余的注意事项1)m和n都不能为小数2)m < 0 结果为负数3)n < 0 正负性取决于m
阅读全文
posted @ 2015-12-21 10:20 Z了个L
阅读(561)
评论(0)
推荐(0)
scanf的运行原理
摘要:
阅读全文
posted @ 2015-12-21 09:14 Z了个L
阅读(427)
评论(0)
推荐(0)
2015年12月20日
printf使用注意事项
摘要: 1)%md问题(设置域宽问题)m - 数字,这个数字可以为正,也可以为负 如果要输出的数的位数 > 域宽m 按照数据的实际位数输出 printf("%3d\n", 1000); 如果要输出的数的位数 0 从左侧开始补空格 m < 0 2)%0md使用注意 %0md表示 ...
阅读全文
posted @ 2015-12-20 19:55 Z了个L
阅读(435)
评论(0)
推荐(0)
2015年12月18日
图片下拉放大
摘要: // ViewController.h#import @interface ViewController : UITableViewController@end// ViewController.m#import "ViewController.h"const CGFloat HMTopView...
阅读全文
posted @ 2015-12-18 23:35 Z了个L
阅读(217)
评论(0)
推荐(0)
2015年12月6日
"duplicate symbol _OBJC_METACLASS_$_类名 in:"
摘要: 错误原因:1)可能是因为#import了.m文件2)可能是因为项目中存在了2个一样的.m文件
阅读全文
posted @ 2015-12-06 16:05 Z了个L
阅读(350)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告