摘要: #include <iostream>using namespace std;int main(){ char c; int n,x;while(cin>>n){x=n; for(int i=1;i<=x;i++){ cout<<"a"; for(int j=1;j<n;j++){ cout<<" 阅读全文
posted @ 2020-03-22 21:41 linyuexiao 阅读(182) 评论(0) 推荐(0)
摘要: #include<iostream>#include<string>using namespace std;int main(){ string a="hello world"; char b[]="say hi"; cout<<a<<b<<endl; return 0;} 输出hello worl 阅读全文
posted @ 2020-03-22 20:09 linyuexiao 阅读(143) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std;int main(){ cout<<"Hello World"<<endl; return 0;} 阅读全文
posted @ 2020-03-22 19:46 linyuexiao 阅读(103) 评论(0) 推荐(0)