c++ - Help
-
Jordon Hirshon
(3/3)
Apr 10 2003
How can I get
to_string() to work? - mikeut66 yahoo.com (11/14) Jul 20 2005 All template parameters must be included. An example:
How can I get <bitset> to_string() to work? Thanks, Jordon Hirshon
Apr 10 2003
In article <b74fsk$2ua7$1 digitaldaemon.com>, Jordon Hirshon says...How can I get <bitset> to_string() to work? Thanks, Jordon HirshonAll template parameters must be included. An example: #include <iostream> #include <string> #include <bitset> int main() { std::bitset<32> b(3); std::cout << b.to_string<char, std::char_traits<char>, std::allocator<char> >() << '\n'; } Anon
Jul 20 2005