Click here to Skip to main content
15,891,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Overloaded member functions Pin
KellyR7-Nov-07 7:25
KellyR7-Nov-07 7:25 
AnswerRe: Overloaded member functions Pin
Paresh Chitte6-Nov-07 20:30
Paresh Chitte6-Nov-07 20:30 
Questionmfc - animation plus interaction (e.g draw a rotating square and drag it) [modified] Pin
simon alec smith6-Nov-07 11:11
simon alec smith6-Nov-07 11:11 
Answercross-post Pin
led mike6-Nov-07 11:36
led mike6-Nov-07 11:36 
JokeRe: cross-post Pin
Rajesh R Subramanian6-Nov-07 21:15
professionalRajesh R Subramanian6-Nov-07 21:15 
AnswerRe: mfc - animation plus interaction (e.g draw a rotating square and drag it) Pin
Hamid_RT6-Nov-07 19:03
Hamid_RT6-Nov-07 19:03 
AnswerRe: mfc - animation plus interaction (e.g draw a rotating square and drag it) Pin
Nelek6-Nov-07 21:57
protectorNelek6-Nov-07 21:57 
AnswerRe: Bases conversion in C Pin
David Crow6-Nov-07 10:46
David Crow6-Nov-07 10:46 
NickYan wrote:
i need to get those 2 separate codes into one source code...


What in the world does this mean?

NickYan wrote:
...which will ask the user to either convert from binary to decimal vice versa


You've coded all of this, yet you cannot figure out how to ask a question and call a different function depending on the answer.

printf("Convert to (b)in or (d)ecimal? ");
char c;
scanf("%c", &c);
if ('b' == c)
    bintodec();
else if ('d' == c)
    dectobin();



"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: Bases conversion in C Pin
led mike6-Nov-07 11:33
led mike6-Nov-07 11:33 
GeneralRe: Bases conversion in C Pin
YNick6-Nov-07 12:14
YNick6-Nov-07 12:14 
GeneralRe: Bases conversion in C Pin
YNick6-Nov-07 12:28
YNick6-Nov-07 12:28 
GeneralRe: Bases conversion in C Pin
User 5838526-Nov-07 14:56
User 5838526-Nov-07 14:56 
QuestionRe: Bases conversion in C Pin
David Crow6-Nov-07 17:36
David Crow6-Nov-07 17:36 
AnswerRe: Bases conversion in C Pin
YNick7-Nov-07 0:55
YNick7-Nov-07 0:55 
GeneralRe: Bases conversion in C Pin
David Crow7-Nov-07 2:33
David Crow7-Nov-07 2:33 
GeneralRe: Bases conversion in C Pin
YNick7-Nov-07 4:14
YNick7-Nov-07 4:14 
QuestionRe: Bases conversion in C Pin
David Crow7-Nov-07 4:19
David Crow7-Nov-07 4:19 
QuestionHow to exchange message between different pages in tab control? Pin
Panamk6-Nov-07 8:43
Panamk6-Nov-07 8:43 
AnswerRe: How to exchange message between different pages in tab control? Pin
Maximilien6-Nov-07 9:02
Maximilien6-Nov-07 9:02 
GeneralRe: How to exchange message between different pages in tab control? Pin
Panamk6-Nov-07 9:09
Panamk6-Nov-07 9:09 
AnswerRe: How to exchange message between different pages in tab control? Pin
PJ Arends6-Nov-07 9:45
professionalPJ Arends6-Nov-07 9:45 
GeneralRe: How to exchange message between different pages in tab control? Pin
Maximilien6-Nov-07 9:51
Maximilien6-Nov-07 9:51 
GeneralRe: How to exchange message between different pages in tab control? Pin
Panamk6-Nov-07 10:55
Panamk6-Nov-07 10:55 
GeneralRe: How to exchange message between different pages in tab control? Pin
Panamk6-Nov-07 13:38
Panamk6-Nov-07 13:38 
GeneralRe: How to exchange message between different pages in tab control? Pin
Panamk6-Nov-07 13:39
Panamk6-Nov-07 13:39 

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.