LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i need to store the output of bitset() in a variable (http://www.linuxquestions.org/questions/linux-newbie-8/i-need-to-store-the-output-of-bitset-in-a-variable-793328/)

anurupr 03-05-2010 12:23 AM

i need to store the output of bitset() in a variable
 
i need to store the output of bitset() in a variable ... is it possible in C++?

evo2 03-05-2010 12:32 AM

What sort of variable? int? std::string?

Evo2.

PS. Yes it is possible. Eg. see to_string(), to_ulong() methods.


All times are GMT -5. The time now is 06:26 PM.