#include "stdafx.h"
#include "string"
#include "iostream"
#include "vector"
#include "sstream"
using namespace std; int _tmain(int argc, _TCHAR* argv[])
{
//前置版本,将运算对象+1,然后将改变后的对象作为求值结果
int j=;
int i=;
j=++i;
cout<<"i="<<i<<endl; //i=11
cout<<"j="<<j<<endl; //j=11 //后置版本,将运算对象+1,但是求值结果是运算对象改变之前结果的的副本
int j1=;
int i1=;
j1=i1++;
cout<<"i1="<<i1<<endl; //i=11
cout<<"j1="<<j1; //j=10 getchar();
return ;
}

最新文章

  1. 使用python解析Json字符串-获取Json字符串关键字
  2. Entity Framework 6 执行Linq to Entities异常&quot;p__linq__1 : String truncation: max=0, len=2, value=&#39;测试&#39;&quot;
  3. Oracle修改默认字符编码
  4. Matlab里面的SVM
  5. C# 自定义序列化问题
  6. android 定制目录
  7. C++ code Summary --- 2015.11.8
  8. Leetcode#71 Simplify Path
  9. 【Cocos2d入门教程五】Cocos2d-x动作篇
  10. shell 基础 $(cd `dirname $0`;pwd)
  11. linux sudo环境变量设置
  12. Oracle多关键字查询
  13. PrefixHeader.pch&#39; file not found 以及 Xcode 中如何添加pch文件
  14. Quartz 原理
  15. 乐视4.14硬件免费日de用户体验
  16. Linux命令(九)比较文件差异 diff
  17. 从内存中加载DLL DELPHI版
  18. PHP关于=&gt;和-&gt;以及::的用法
  19. word中拷贝图片到matlab
  20. Windows7下安装配置PostgreSQL10

热门文章

  1. JavaWeb 之过滤器
  2. 如何生成动态库 .dll 的符号 .lib 文件?
  3. PhpStorm2017.1版激活方法、汉化方法以及界面配置
  4. python 时间模块小结
  5. python面试题(四)
  6. 【WEB HTTP】集成点:网关、隧道及中继
  7. Dancing Link专题
  8. 谷歌机器学习速成课程---2深入了解机器学习(Descending into ML)
  9. IDEA中文出现乱码解决
  10. 动手动脑:String.equals()的使用方法