Buffered and unbuffered stream
问题 In case of buffered stream it said in a book that it wait until the buffer is full to write back to the monitor. For example: cout << "hi"; What do they mean by "the buffer is full". cerr << "hi"; It is said in my book that everything sent to cerr is written to the standard error device immediately, what does it mean? char *ch; cin>> ch; // I typed "hello world"; In this example ch will be assigned to "hello" and "world" will be ignored does it mean that it still in the buffer and it will