end of file

S

sivan100

Hi, I am using the following lines in Visual Studio 2008

string word;

while (cin >> word)

how I stop the while loop I try ctrl+z and it write ^Z ,so how I stop
it?
Thanks in advance,sivan.
 
B

Barry

Hi, I am using the following lines in Visual Studio 2008

string word;

while (cin >> word)

how I stop the while loop I try ctrl+z and it write ^Z ,so how I stop
it?
Thanks in advance,sivan.

How about ctrl+z then ENTER

Anyway this is platform dependent, nothing to do with the C++ language
itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,173
Messages
2,570,937
Members
47,481
Latest member
ElviraDoug

Latest Threads

Top