What is the object that determines the kinds of charactors that a produced by an outstream Object a) wchar_t b) char c) char_traits<> d) unsigned int char_traits<> What namespace does a basic_ostream reside in? std:: What library does a basic_ostream reside in? library ostream -- #include basic_ostream is a template class that inherits from ? basic_ios template > class std::basic_ostream : virtual public basic_ios { public: virtual ~basic_ostream(); //... } Regular chars and wide chars are supported in basic_ostream with defined stream specifications. How is that implemented? typedef basic_ostream ostream; typedef basic_ostream wostream; What library header file is basic_ios listed in? header ios -- #include basic_ios inherits from what base class? ios_base - which is not a template ex: template > class basic_ios : public ios_base{ public: typedef Ch char_type; typedef Tr traits_type; typedef typename Tr::int_type int_type; typedef typename Tr::pos_type pos_type; typedef typename Tr::off_type off_type; } What does the template class ios_base look like? ios_base is not a template and only contains operations and information that is independent of the char type used. What is streamsize, and what does it represent? It is a typedef of an unsigned int to represent the number of characters transfered in an I/O operation, and the I/O buffers. It is defined in the I/O libraries. What is streamoff and what does it represent? It represents the offset in buffers and streams is a typedef Name the 6 basic streams defined in iostream? Name the 6 basic streams defined in iostream? 1) ostream cout; 2) ostream cerr; 3) ostream clog; 4) wostream wcout; 5) wostream wcerr; 6) wostream wclog; Which class defined the basic operator<< for the majority of base types? Template class basic_ostream They are overloaded functions What are the thirteen basic overload functions for operator<<() within the basic_ostream template class? template > class basic_ostream : virtual public basic_ios { basic_ostream& operator<<(short n); basic_ostream& operator<<(int n); basic_ostream& operator<<(long n); basic_ostream& operator<<(unsigned short n); basic_ostream& operator<<(unsigned int n); basic_ostream& operator<<(unsigned long n); basic_ostream& operator<<(float f); basic_ostream& operator<<(double f); basic_ostream& operator<<(long double f); basic_ostream& operator<<(bool n); basic_ostream& operator<<(const void* p); basic_ostream& put(Ch c); //write c basic_ostream& write(const Ch* p, streamsize n); //p[0] - p[n-1] NOTE no string type and no char array either - those are defined elsewhere What are the thirteen basic overload functions for operator<<() within the basic_ostream template class? template > class basic_ostream : virtual public basic_ios { basic_ostream& operator<<(short n); basic_ostream& operator<<(int n); basic_ostream& operator<<(long n); basic_ostream& operator<<(unsigned short n); basic_ostream& operator<<(unsigned int n); basic_ostream& operator<<(unsigned long n); basic_ostream& operator<<(float f); basic_ostream& operator<<(double f); basic_ostream& operator<<(long double f); basic_ostream& operator<<(bool n); basic_ostream& operator<<(const void* p); basic_ostream& put(Ch c); //write c basic_ostream& write(const Ch* p, streamsize n); //p[0] - p[n-1] NOTE no string type and no char array either - those are defined elsewhere What are the thirteen basic overload functions for operator<<() within the basic_ostream template class? template > class basic_ostream : virtual public basic_ios { basic_ostream& operator<<(short n); basic_ostream& operator<<(int n); basic_ostream& operator<<(long n); basic_ostream& operator<<(unsigned short n); basic_ostream& operator<<(unsigned int n); basic_ostream& operator<<(unsigned long n); basic_ostream& operator<<(float f); basic_ostream& operator<<(double f); basic_ostream& operator<<(long double f); basic_ostream& operator<<(bool n); basic_ostream& operator<<(const void* p); basic_ostream& put(Ch c); //write c basic_ostream& write(const Ch* p, streamsize n); //p[0] - p[n-1] NOTE no string type and no char array either - those are defined elsewhere What is a pointer variable A pointer is a variable of a type which points to an address of that type of storage example int * ptr; // is an INT pointer int num = 3; ptr = # // ptr is an INT pointer that stores the address of the int value in variable num "tmp.txt" 108L, 3075C written