Click here to Skip to main content
16,016,157 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert Long to String, how? (Newbie) Pin
PJ Arends15-Feb-03 16:15
professionalPJ Arends15-Feb-03 16:15 
GeneralRe: Convert Long to String, how? (Newbie) Pin
Michael Dunn15-Feb-03 16:18
sitebuilderMichael Dunn15-Feb-03 16:18 
GeneralRe: Convert Long to String, how? (Newbie) Pin
PocketBlast15-Feb-03 17:02
PocketBlast15-Feb-03 17:02 
GeneralRe: Convert Long to String, how? (Newbie) Pin
PJ Arends15-Feb-03 16:35
professionalPJ Arends15-Feb-03 16:35 
GeneralRe: Convert Long to String, how? (Newbie) Pin
PocketBlast15-Feb-03 17:09
PocketBlast15-Feb-03 17:09 
GeneralRe: Convert Long to String, how? (Newbie) Pin
Brad Jennings15-Feb-03 19:28
Brad Jennings15-Feb-03 19:28 
GeneralRe: Convert Long to String, how? (Newbie) Pin
PocketBlast15-Feb-03 20:18
PocketBlast15-Feb-03 20:18 
GeneralRe: Convert Long to String, how? (Newbie) Pin
Brad Jennings15-Feb-03 20:54
Brad Jennings15-Feb-03 20:54 
Hmm, CString must be a little different between compilers.

Try:

CString AnsSum;<br />
char temp[33];<br />
ltoa(i, temp, 10);<br />
AnsSum = temp;


This works without any headers in VC++ 6.0 but if it doesn't know what ltoa is try [edit] including stdlib.h [/edit]. Don't feel bad about asking questions, simple or complex, we've all got to start somewhere.

Brad Jennings

"if the golden arches shut shop, where else are the VB people going to get work." - Colin Davies
GeneralRe: Convert Long to String, how? (Newbie) Pin
Ted Ferenc15-Feb-03 22:08
Ted Ferenc15-Feb-03 22:08 
GeneralRe: Convert Long to String, how? (Newbie) Pin
PocketBlast16-Feb-03 7:50
PocketBlast16-Feb-03 7:50 
GeneralRe: Convert Long to String, how? (Newbie) Pin
Brad Jennings16-Feb-03 11:08
Brad Jennings16-Feb-03 11:08 
GeneralRe: Convert Long to String, how? (Newbie) Pin
Ted Ferenc16-Feb-03 21:33
Ted Ferenc16-Feb-03 21:33 
Generalccombo + fonts Pin
DuFF15-Feb-03 15:09
DuFF15-Feb-03 15:09 
GeneralCWinThread Pin
king_of_the_world15-Feb-03 15:05
king_of_the_world15-Feb-03 15:05 
GeneralRe: CWinThread Pin
valikac15-Feb-03 15:15
valikac15-Feb-03 15:15 
GeneralRe: CWinThread Pin
king_of_the_world15-Feb-03 15:17
king_of_the_world15-Feb-03 15:17 
GeneralRe: CWinThread Pin
Gary R. Wheeler16-Feb-03 4:33
Gary R. Wheeler16-Feb-03 4:33 
GeneralHelp with subclassing Pin
paully15-Feb-03 13:25
paully15-Feb-03 13:25 
GeneralUsing The Replace feature in Visual c++6 Pin
ZAkinG15-Feb-03 13:04
ZAkinG15-Feb-03 13:04 
GeneralCComboBox and appWizard Pin
king_of_the_world15-Feb-03 12:58
king_of_the_world15-Feb-03 12:58 
GeneralRe: CComboBox and appWizard Pin
DuFF15-Feb-03 15:13
DuFF15-Feb-03 15:13 
GeneralRe: CComboBox and appWizard Pin
king_of_the_world15-Feb-03 15:18
king_of_the_world15-Feb-03 15:18 
GeneralConvert CString Long, cant, help? (Newbie) Pin
PocketBlast15-Feb-03 11:25
PocketBlast15-Feb-03 11:25 
GeneralRe: Convert CString Long, cant, help? (Newbie) Pin
Michael A. Barnhart15-Feb-03 11:36
Michael A. Barnhart15-Feb-03 11:36 
GeneralRe: Convert CString Long, cant, help? (Newbie) Pin
Michael Dunn15-Feb-03 11:53
sitebuilderMichael Dunn15-Feb-03 11:53 

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.