Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Search this Thread
Old 03-05-2010, 12:23 AM   #1
Registered: Mar 2010
Posts: 71

Rep: Reputation: 16
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++?
Old 03-05-2010, 12:32 AM   #2
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,081

Rep: Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095
What sort of variable? int? std::string?


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

Last edited by evo2; 03-05-2010 at 12:45 AM. Reason: PS.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to store a command in a variable lemon09 Programming 11 02-01-2010 02:03 AM
How to store SQL output in a variable atulsh General 1 09-18-2008 01:22 PM
bitset variable RudraB Programming 3 07-10-2008 01:25 PM
Bash store last line from displayed text output in a variable carl0ski Programming 1 01-16-2007 03:38 AM
Store PATH variable permanently Skute Linux - Software 8 01-15-2004 04:05 PM

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration