山里狼

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年11月3日

摘要: 下面程序的结果是多少?#include <iostream>#include <stdio.h>#include <string.h>#include <conio.h>using namespace std;int main(){ float a=1.0f; cout<<(int)a<<endl; cout<<&a<<endl; cout<<(int&)a<<endl; cout<<boolalpha<<((int)a==(int&a 阅读全文
posted @ 2012-11-03 19:09 山里狼 阅读(528) 评论(0) 推荐(0) 编辑