Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bit concatenation in C++ Pin
Richard MacCutchan29-May-13 21:38
mveRichard MacCutchan29-May-13 21:38 
GeneralRe: Bit concatenation in C++ Pin
Chris Losinger30-May-13 2:06
professionalChris Losinger30-May-13 2:06 
GeneralRe: Bit concatenation in C++ Pin
Richard MacCutchan30-May-13 2:50
mveRichard MacCutchan30-May-13 2:50 
GeneralRe: Bit concatenation in C++ Pin
Chris Losinger30-May-13 3:16
professionalChris Losinger30-May-13 3:16 
GeneralRe: Bit concatenation in C++ Pin
Richard MacCutchan30-May-13 5:22
mveRichard MacCutchan30-May-13 5:22 
GeneralRe: Bit concatenation in C++ Pin
Chris Losinger30-May-13 5:36
professionalChris Losinger30-May-13 5:36 
GeneralRe: Bit concatenation in C++ Pin
Richard MacCutchan30-May-13 6:19
mveRichard MacCutchan30-May-13 6:19 
GeneralRe: Bit concatenation in C++ Pin
ThatsAlok29-May-13 21:42
ThatsAlok29-May-13 21:42 
though richard solutions is best.. i am suggesting simpler approach for this in my college days Smile | :)

C++
int result = i*100 + j *10 + k;


Jokes apart! are you looking for it's integer equivalent. i.e. say you have bits like this i=1,j=0,k=0 for which decimal equivalent is 4 ( binary of 100 = 4 i.e. 22 + 0 + 0 )

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture


cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You

GeneralRe: Bit concatenation in C++ Pin
Manoj739029-May-13 21:57
Manoj739029-May-13 21:57 
GeneralRe: Bit concatenation in C++ Pin
ThatsAlok29-May-13 22:25
ThatsAlok29-May-13 22:25 
GeneralRe: Bit concatenation in C++ Pin
Manoj739029-May-13 23:39
Manoj739029-May-13 23:39 
GeneralRe: Bit concatenation in C++ Pin
Richard MacCutchan30-May-13 2:53
mveRichard MacCutchan30-May-13 2:53 
GeneralRe: Bit concatenation in C++ Pin
Manoj739029-May-13 23:58
Manoj739029-May-13 23:58 
GeneralRe: Bit concatenation in C++ Pin
Chris Losinger30-May-13 2:10
professionalChris Losinger30-May-13 2:10 
QuestionCOURSE SCHEDULING PROGRAM IN C++ Pin
Er.Rishi Sharma29-May-13 6:12
professionalEr.Rishi Sharma29-May-13 6:12 
AnswerRe: COURSE SCHEDULING PROGRAM IN C++ Pin
Richard MacCutchan29-May-13 6:49
mveRichard MacCutchan29-May-13 6:49 
GeneralRe: COURSE SCHEDULING PROGRAM IN C++ Pin
Er.Rishi Sharma29-May-13 7:44
professionalEr.Rishi Sharma29-May-13 7:44 
QuestionRe: COURSE SCHEDULING PROGRAM IN C++ Pin
David Crow29-May-13 9:25
David Crow29-May-13 9:25 
GeneralRe: COURSE SCHEDULING PROGRAM IN C++ Pin
Richard MacCutchan29-May-13 11:51
mveRichard MacCutchan29-May-13 11:51 
AnswerRe: COURSE SCHEDULING PROGRAM IN C++ Pin
ThatsAlok29-May-13 21:44
ThatsAlok29-May-13 21:44 
AnswerRe: COURSE SCHEDULING PROGRAM IN C++ Pin
Alan Balkany30-May-13 9:40
Alan Balkany30-May-13 9:40 
Questionget objectSid in ADSI with c++ code Pin
venkatesh5286729-May-13 4:55
venkatesh5286729-May-13 4:55 
AnswerRe: get objectSid in ADSI with c++ code Pin
ThatsAlok29-May-13 21:45
ThatsAlok29-May-13 21:45 
GeneralRe: get objectSid in ADSI with c++ code Pin
venkatesh5286729-May-13 22:55
venkatesh5286729-May-13 22:55 
QuestionPrevent System from sleep mode Pin
Sachin k Rajput 29-May-13 2:01
Sachin k Rajput 29-May-13 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.