Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Converting a CString to Hex and Vice Versa in MFC

$
0
0

Howdy?!
 
I don't have any history with MFC, much more with C++. And I need to make a class, which converts CString to Hexadecimal and vice-versa. 
 
I have read this one and YES it is working.

Converting CString to HEX answered by Naveen R.

But what if the string is not declared in the code?
What if the user will be the one to input the string?

Any ideas on how to work this one out?

Thanks in advance.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>