Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dialog box Pin
Michael Dunn5-Oct-06 19:22
sitebuilderMichael Dunn5-Oct-06 19:22 
QuestionTAPI conn + Data Transfer is it possible Pin
Sarguna Reddiar5-Oct-06 18:50
Sarguna Reddiar5-Oct-06 18:50 
AnswerRe: TAPI conn + Data Transfer is it possible Pin
kakan5-Oct-06 21:14
professionalkakan5-Oct-06 21:14 
GeneralRe: TAPI conn + Data Transfer is it possible Pin
Sarguna Reddiar6-Oct-06 0:58
Sarguna Reddiar6-Oct-06 0:58 
QuestionDatabase Pin
With_problem5-Oct-06 18:34
With_problem5-Oct-06 18:34 
AnswerRe: Database Pin
ShilpiP5-Oct-06 18:45
ShilpiP5-Oct-06 18:45 
AnswerRe: Database Pin
Hamid_RT5-Oct-06 19:08
Hamid_RT5-Oct-06 19:08 
QuestionI have to convert any binary number up to 32 bits to decimal. Pin
aflothmann5-Oct-06 17:19
aflothmann5-Oct-06 17:19 
The input is an int with no spaces, how would i get it to do this, 111,

int n=0;
int decimal=0;

cin>>binary;
if(binary!='/n'){
decimal=binary*2^n
n++}
The thing is it has to affect only one digit of the int at a time, and I'm not allowed to use arrays.
Any Ideas on how this could be achieved.

binary=111
decimal=(1*2^0)+(1*2^1)+(1*2^2)=7

like that but for 32 bits.

any ideas are appreciated, thx.

AnswerRe: I have to convert any binary number up to 32 bits to decimal. Pin
_AnsHUMAN_ 5-Oct-06 18:21
_AnsHUMAN_ 5-Oct-06 18:21 
AnswerRe: I have to convert any binary number up to 32 bits to decimal. Pin
ThatsAlok5-Oct-06 18:41
ThatsAlok5-Oct-06 18:41 
AnswerRe: I have to convert any binary number up to 32 bits to decimal. Pin
Steve Echols5-Oct-06 19:05
Steve Echols5-Oct-06 19:05 
AnswerRe: I have to convert any binary number up to 32 bits to decimal. Pin
David Crow6-Oct-06 2:58
David Crow6-Oct-06 2:58 
GeneralRe: I have to convert any binary number up to 32 bits to decimal. Pin
aflothmann12-Oct-06 10:24
aflothmann12-Oct-06 10:24 
GeneralRe: I have to convert any binary number up to 32 bits to decimal. Pin
David Crow12-Oct-06 10:33
David Crow12-Oct-06 10:33 
Questiontxt file prblem Pin
With_problem5-Oct-06 16:44
With_problem5-Oct-06 16:44 
AnswerRe: txt file prblem Pin
Nibu babu thomas5-Oct-06 17:28
Nibu babu thomas5-Oct-06 17:28 
GeneralRe: txt file prblem Pin
With_problem5-Oct-06 18:11
With_problem5-Oct-06 18:11 
GeneralRe: txt file prblem Pin
Nibu babu thomas5-Oct-06 18:16
Nibu babu thomas5-Oct-06 18:16 
GeneralRe: txt file prblem Pin
With_problem5-Oct-06 18:29
With_problem5-Oct-06 18:29 
GeneralRe: txt file prblem Pin
Hamid_RT6-Oct-06 8:29
Hamid_RT6-Oct-06 8:29 
AnswerRe: txt file prblem Pin
ThatsAlok5-Oct-06 18:46
ThatsAlok5-Oct-06 18:46 
QuestionHow does X-Face work? Pin
Lord Kixdemp5-Oct-06 16:31
Lord Kixdemp5-Oct-06 16:31 
AnswerRe: How does X-Face work? Pin
Stephen Hewitt5-Oct-06 16:48
Stephen Hewitt5-Oct-06 16:48 
GeneralRe: How does X-Face work? Pin
ThatsAlok5-Oct-06 18:46
ThatsAlok5-Oct-06 18:46 
AnswerRe: How does X-Face work? Pin
benjymous5-Oct-06 22:12
benjymous5-Oct-06 22:12 

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.