Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SMTP Server? Pin
Prakash Nadar2-Apr-04 19:05
Prakash Nadar2-Apr-04 19:05 
AnswerRe: SMTP Server? Pin
Paul Ranson3-Apr-04 8:58
Paul Ranson3-Apr-04 8:58 
QuestionAnyone has any experience on using CHtmlEditCtrl? Pin
usfesco2-Apr-04 13:06
usfesco2-Apr-04 13:06 
QuestionRe: Anyone has any experience on using CHtmlEditCtrl? Pin
Debapritam Chakra29-Dec-16 4:05
Debapritam Chakra29-Dec-16 4:05 
GeneralCOnverting char to int and retaining value Pin
CNewbie2-Apr-04 12:50
CNewbie2-Apr-04 12:50 
GeneralRe: COnverting char to int and retaining value Pin
Michael Dunn2-Apr-04 13:58
sitebuilderMichael Dunn2-Apr-04 13:58 
GeneralRe: COnverting char to int and retaining value Pin
CNewbie2-Apr-04 18:56
CNewbie2-Apr-04 18:56 
GeneralRe: COnverting char to int and retaining value Pin
Johnny ²2-Apr-04 23:42
Johnny ²2-Apr-04 23:42 
You dont convert from hex to decimal, they are just different ways of representing the same thing. In your case, you are outputting an 'int' variable to cout. Unless you tell cout otherwise, it will always display this as a decimal. If you want to display it as hex, then you need:

cout << hex << myNumber;
GeneralRe: COnverting char to int and retaining value Pin
Pedro Ruiz2-Apr-04 23:50
Pedro Ruiz2-Apr-04 23:50 
GeneralRe: COnverting char to int and retaining value Pin
GflPower4-Apr-04 19:12
GflPower4-Apr-04 19:12 
GeneralCString::Format() Pin
Oriented2-Apr-04 12:33
Oriented2-Apr-04 12:33 
GeneralRe: CString::Format() Pin
Michael Dunn2-Apr-04 13:57
sitebuilderMichael Dunn2-Apr-04 13:57 
GeneralRe: CString::Format() Pin
gUrM33T2-Apr-04 15:25
gUrM33T2-Apr-04 15:25 
GeneralRe: CString::Format() Pin
Prakash Nadar2-Apr-04 16:19
Prakash Nadar2-Apr-04 16:19 
GeneralRe: CString::Format() Pin
Graham Bradshaw2-Apr-04 21:53
Graham Bradshaw2-Apr-04 21:53 
GeneralRe: CString::Format() Pin
Prakash Nadar3-Apr-04 2:27
Prakash Nadar3-Apr-04 2:27 
GeneralRe: CString::Format() Pin
Gary R. Wheeler3-Apr-04 2:55
Gary R. Wheeler3-Apr-04 2:55 
GeneralScroll Bar Pin
Oriented2-Apr-04 12:16
Oriented2-Apr-04 12:16 
GeneralRe: Scroll Bar Pin
gUrM33T2-Apr-04 15:33
gUrM33T2-Apr-04 15:33 
GeneralParse CHAR pointers Pin
gls2ro2-Apr-04 11:55
gls2ro2-Apr-04 11:55 
GeneralRe: Parse CHAR pointers Pin
John R. Shaw2-Apr-04 12:11
John R. Shaw2-Apr-04 12:11 
GeneralRe: Parse CHAR pointers Pin
gUrM33T2-Apr-04 15:28
gUrM33T2-Apr-04 15:28 
GeneralRead Write ANSI/C Pin
gls2ro2-Apr-04 10:44
gls2ro2-Apr-04 10:44 
GeneralRe: Read Write ANSI/C Pin
Anonymous2-Apr-04 11:08
Anonymous2-Apr-04 11:08 
Generalchar ** problem (ANSI C) Pin
kfaday2-Apr-04 6:44
kfaday2-Apr-04 6:44 

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.