Input output

M

MConly

Have you ever been told to input and then your machine says I don't
have any output for you ????
 
M

modemer

Yes, I've ever seen that my DVD player machine asked me to input a DVD disk,
but after I input it, it said "I can't recognize and output anything for
you".

Does this help? ;-)
 
T

Thomas Matthews

MConly said:
Have you ever been told to input and then your machine says I don't
have any output for you ????

#include <iostream>
using namespace std;

int main(void)
{
unsigned int i;
cout << "Input a number: ";
cin >> i;
cout.flush();
cout << "I don't have any output for you.\n";
return 0;
}


--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 

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
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top