关于ostream解决办法

关于ostream
请问   ostream是个什么类型,从字面上看好像和输出有关系

我试着ostream定义了变量,马上报错,即ostream   b;

大家给讲讲ostream是什么意思



------解决方案--------------------
For output,we use ostream object named cout.It is often referred to as the standard output.The library also defines two other ostream objects,named cerr and clog.The cerr object,referrde to as the standard error,is typically used to generate warning and error messages to users of our programs.The clog object is used for general information about the execution of the program.