首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

KDevelop不提示输入字符串,该怎么解决

2012-02-25 
KDevelop不提示输入字符串#includefstream.h#includeiostream#includestring#includevector#inclu

KDevelop不提示输入字符串
#include   <fstream.h>
#include   <iostream>
#include   <string>
#include   <vector>
#include   <algorithm>
using   namespace   std;
int   main()
{
string   ifile;
cout < < "Please   enter   file   to   sort!\n ";
cin> > ifile;
cout < <ifile;
return   0;
}
有上面一段小程序,为什么在KDevelop下不提示我输入一串字符?
晕。

[解决办法]
cout < < "Please enter file to sort!\n " < < endl;
再试
[解决办法]
楼上的,这有何区别

热点排行