使用std :: string输入文件? [英] file input using std::string ?
本文介绍了使用std :: string输入文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
C ++有这样的东西吗?
解决方案
Peter Olcott写道:
C ++有这样的东西吗?
喜欢什么?
-
Ian柯林斯。
C ++是否有任何东西使用类似
std :: string的文本文件输入?
>
" Ian Collins" < ia ****** @ hotmail.comwrote in message
news:5g ************* @ mid.individual.net ...
Peter Olcott写道:
> C ++有这样的东西吗?
喜欢什么?
-
Ian Collins。
Peter Olcott写道:
请不要过头。
" Ian Collins" < ia ****** @ hotmail.comwrote in message
news:5g ************* @ mid.individual.net ...
> Peter Olcott写道:
>> C ++有这样的东西吗?
喜欢什么?
C ++是否有任何使用类似
std :: string的内容文本文件输入?
std :: string s;
std :: cin> s;
-
Ian Collins。
Does C++ have anything like this?
解决方案
Peter Olcott wrote:Does C++ have anything like this?
Like what?
--
Ian Collins.
Does C++ have anything that uses something like a
std::string for text file input?
"Ian Collins" <ia******@hotmail.comwrote in message
news:5g*************@mid.individual.net...Peter Olcott wrote:>Does C++ have anything like this?
Like what?
--
Ian Collins.
Peter Olcott wrote:
Please don''t top-post.
"Ian Collins" <ia******@hotmail.comwrote in message
news:5g*************@mid.individual.net...>Peter Olcott wrote:>>Does C++ have anything like this?
Like what?
Does C++ have anything that uses something like a
std::string for text file input?
std::string s;
std::cin >s;
--
Ian Collins.
这篇关于使用std :: string输入文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文