lxutao的ChinaUnix博客
lxutao
全部博文(25)
2010年(25)
weijl86
hulaidas
王麟书
lyaugust
luanyw_5
mayki
xuerongw
mnipxh
zxmax00
分类: C/C++
2010-03-14 18:53:21
/* * ============================= * * Filename: test.cpp * * Description: * * Version: 1.0 * Created: 2009年08月01日 20时10分33秒 CST * Revision: none * Compiler: gcc * * Author: (), * Company: * * ===================================================================================== */ long int cal1(long int i){ return i*3; } double cal2(double i){ return i*2.0; } inline double cal3(double i){ return i*2.0; } int main(void){ long int i = 0; for(i = 0; i< 100000000; i++){ cal1(i); cal2(i); cal3(i); } return 0; }
上一篇:MAC冲突窗口-无线网络102
下一篇:逝去的SUN
登录 注册