摘要:
zz:http://yangjiayu.com/archives/83http://hi.baidu.com/sunjoe/blog/item/895aa809d916fb226b60fba5.html这里有比较好的理解方法。#include<iostream>usingnamespacestd;voidswap(float&m,float&n){m=m-n;n=m+n;m=n-m;}intmain(){floata,b;cin>>a>>b;swap(a,b);cout<<a<<" "<< 阅读全文