LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-05-2010, 01:23 AM   #1
anurupr
Member
 
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, 01:32 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,527

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

Evo2.

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

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


Reply


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 03:03 AM
How to store SQL output in a variable atulsh General 1 09-18-2008 02:22 PM
bitset variable RudraB Programming 3 07-10-2008 02:25 PM
Bash store last line from displayed text output in a variable carl0ski Programming 1 01-16-2007 04:38 AM
Store PATH variable permanently Skute Linux - Software 8 01-15-2004 05:05 PM


All times are GMT -5. The time now is 09:08 PM.

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