The difference between the int value ++; and the value;
来源:互联网 发布:手机淘宝淘抢购 编辑:程序博客网 时间:2024/05/22 09:48
First come to the code:
{
intAddTag = 3000;
intAddTag++;
Flag1 = intAddTag;
NSLog(@"flag1 %d,intAddTag %d=========",Flag1,intAddTag);
intAddTag = 3000;
Flag1 = intAddTag++;
NSLog(@"flag1 %d,intAddTag %d=========",Flag1,intAddTag);
}like up, the test builder is IOS ,Xcode 5.0
print :
2013-09-11 16:28:59.530 PeriodPal[5010:a0b] flag1 3001,intAddTag 3001=========
2013-09-11 16:28:59.530 PeriodPal[5010:a0b] flag1 3000,intAddTag 3001=========
so the value is different!!!!
- The difference between the int value ++; and the value;
- The difference between (()) and ().
- what's the difference between int (* f [])(); and int f[]();
- the difference between "./" and "sh"
- the difference between the SOURCELIBS and TARGETLIBS
- the difference cv value in libsvm
- The difference between Const and ReadOnly
- The difference between Failure and Success
- The difference between Process and Procedure
- The difference between GetDC and GetWindowDC
- The difference between Chinese and American
- The difference between J2ee and Ruby
- The difference between SendMessage and PostMessage
- The difference between lint and gcc
- The difference between sizeof and strlen
- The Difference Between Internet, Intranet, and Extranet
- The difference between CLOCK_MONOTONIC and CLOCK_REALTIME
- The difference between UTF8 and AL32UTF8
- mycopyFile_linux下实现简单文件的复制
- cocos2dx 中通过 jni 显示UI
- qq,sina第3方登录js版
- INNODB 和 MYISAM 区别 事物处理
- Ubuntu eclipse :An error has occurred. See the log file
- The difference between the int value ++; and the value;
- C语言中printf格式化输出函数
- vs2010编译osg源码问题:error C2780
- mybatis学习整理(用户手册)(完整的全面学习)
- 在一个窗口应用程序中创建一个console窗口
- eclipse中Failed to install *.apk on device *: timeout的解决办法!!!
- C# MVC 自学笔记—5 添加模型
- QQ聊天记录如何加密
- 深入学习Django源码基础14 - Django中forms简要分析