2017年9月21日

摘要: #include<iostream>using namespace std;int main(){ int short a; a=684318; cout<<"a="<<a<<endl; return 0;} 阅读全文
posted @ 2017-09-21 11:28 三叶癌 阅读(86) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ char a1,a2; a1='A'; a2='B'; cout<<"a1+a2="<<a1+a2<<endl; return 0;} 阅读全文
posted @ 2017-09-21 11:23 三叶癌 阅读(74) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ float a; int b; a=5.8; b=a; cout<<"a="<<a<<'\n'<<"b="<<b<<endl; return 0;} 阅读全文
posted @ 2017-09-21 11:12 三叶癌 阅读(82) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ bool flag; flag=true; if(flag) cout<<false<<endl; return 0; } #include<iostream>using namespace std; 阅读全文
posted @ 2017-09-21 11:01 三叶癌 阅读(79) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ float x; x=2.4; cout<<"x="<<x<<endl; return 0;} 阅读全文
posted @ 2017-09-21 10:09 三叶癌 阅读(72) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ long long int a; a=12345678901234; cout<<a<<endl; return 0;} 阅读全文
posted @ 2017-09-21 10:03 三叶癌 阅读(91) 评论(0) 推荐(0)

导航