next time i will have my exames, now i wanna show you my binaer- hexa-calculator, to check it for me please.
It should be correct, easy to understand & short!
Why do you use that ancient MFC? That'd be something for the console (or at least a newer gui like http://www.wxwidgets.org/ which is not perfect, but ok to use)
So I can't compile your code. But you can simplify the switches by using the bit oprands | >> << etc. You don't need pow()
To make '5' from 5 you could write: 5 + '0'. The other way: 5 from '5' would be '5' - '0'
Note that the only difference between dex2bin and dec2hex is the operand in the division and the modulus.
So you could make a general function, to represent a number in "any" base (with a symbol table)
Also the reverse of the string should be a function, in fact there is std::reverse in algorithm. (or you could use recursion)