Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: How to unset iomanip manipulators?

Reply
Thread Tools

Re: How to unset iomanip manipulators?

 
 
Stefan Ram
Guest
Posts: n/a
 
      12-07-2009
Frank Birbacher <> writes in comp.lang.c++.moderated:
>const char originalFill = cout.fill();


How can you know that the »char_type« of »cout« is »char«?

 
Reply With Quote
 
 
 
 
Stefan Ram
Guest
Posts: n/a
 
      12-07-2009
(Stefan Ram) writes:
>Frank Birbacher <> writes in comp.lang.c++.moderated:
>>const char originalFill = cout.fill();

>How can you know that the »char_type« of »cout« is »char«?


OK, I know, because of:

typedef basic_ostream<char> ostream;

and

extern ostream cout;

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: How to unset iomanip manipulators? Stefan Ram C++ 4 12-07-2009 09:58 AM
Ant idiom for signaling error on unset properties? nyenyec Java 0 01-26-2007 05:24 PM
Altenative of PHP Function "Unset" in ASP fasanay@yahoo.com ASP .Net 7 10-22-2004 08:11 PM
iomanip Christopher C++ 2 11-09-2003 10:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57