singlestyle

大家帮忙看看这个有点问题····

#include <iostream>
#include <string>
using namespace std;
int main()
{ string str1;
  string str2="You name is :";
  cout<<"Enter you name "<<endl;
  cin>>str1;
  cout<<str2<<" "<<str1<<endl;
  cout <<str1.size()<<endl;
  string str3 =str1 +str2;
  cout<<str3;
  cin.get();
  return 0;
}
 
 最后运行时,运行窗口只是一闪,窗口就不见了,请问如何停留住运行窗口····

posted on 2011-05-01 17:23 singlestyle 阅读(105) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


<2024年3月>
252627282912
3456789
10111213141516
17181920212223
24252627282930
31123456

导航

统计

常用链接

留言簿

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜