Click here to Skip to main content
15,901,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker Error 2001 Pin
Mark Salsbery9-Jul-07 13:32
Mark Salsbery9-Jul-07 13:32 
GeneralRe: Linker Error 2001 Pin
Bram van Kampen9-Jul-07 14:48
Bram van Kampen9-Jul-07 14:48 
GeneralRe: Linker Error 2001 Pin
moonraker92810-Jul-07 9:12
moonraker92810-Jul-07 9:12 
GeneralRe: Linker Error 2001 Pin
David Crow10-Jul-07 2:44
David Crow10-Jul-07 2:44 
QuestionNew mail message in Outlook Pin
jbaird19-Jul-07 9:19
jbaird19-Jul-07 9:19 
QuestionRe: New mail message in Outlook Pin
David Crow9-Jul-07 10:58
David Crow9-Jul-07 10:58 
GeneralRe: New mail message in Outlook Pin
jbaird19-Jul-07 11:04
jbaird19-Jul-07 11:04 
QuestionCString and integers Pin
mcsherry9-Jul-07 8:22
mcsherry9-Jul-07 8:22 
Hi all,
I'm populating a CString with a set of int's however if the int is less than 10 I want to put a 0 (zero) before it.

At present I'm populating the CString by using the format method, so my code looks something like:

myString.Format ( "%d, %d, %d", int1, int2, int3) ;

I though maybe using the float method I could force a preceding zero but that hasn't worked, my code is below:
myString.Format ( "%2.0d, %d, %d", int1, int2, int3) ;

does anyone know how to do this?

cheers,
AnswerRe: CString and integers Pin
mcsherry9-Jul-07 8:33
mcsherry9-Jul-07 8:33 
GeneralRe: CString and integers Pin
David Crow9-Jul-07 8:50
David Crow9-Jul-07 8:50 
QuestionEscape Sequence Pin
Sabry19059-Jul-07 7:22
Sabry19059-Jul-07 7:22 
AnswerRe: Escape Sequence Pin
David Crow9-Jul-07 8:51
David Crow9-Jul-07 8:51 
GeneralRe: Escape Sequence Pin
Sabry19059-Jul-07 22:22
Sabry19059-Jul-07 22:22 
QuestionRe: Escape Sequence Pin
David Crow10-Jul-07 2:42
David Crow10-Jul-07 2:42 
AnswerRe: Escape Sequence Pin
Sabry190510-Jul-07 4:14
Sabry190510-Jul-07 4:14 
QuestionRe: Escape Sequence Pin
David Crow10-Jul-07 4:24
David Crow10-Jul-07 4:24 
AnswerRe: Escape Sequence Pin
Sabry190510-Jul-07 23:51
Sabry190510-Jul-07 23:51 
Questionsetup CLapack with VS2005.NET Pin
Ming Luo9-Jul-07 7:12
Ming Luo9-Jul-07 7:12 
Questionkeys codes in APIs like Keybd_Event Pin
V_shr9-Jul-07 6:51
V_shr9-Jul-07 6:51 
AnswerRe: keys codes in APIs like Keybd_Event Pin
David Crow9-Jul-07 7:18
David Crow9-Jul-07 7:18 
GeneralRe: keys codes in APIs like Keybd_Event Pin
V_shr9-Jul-07 7:27
V_shr9-Jul-07 7:27 
GeneralRe: keys codes in APIs like Keybd_Event Pin
Hamid_RT9-Jul-07 7:58
Hamid_RT9-Jul-07 7:58 
QuestionCtAbout popupMenu Pin
kcynic9-Jul-07 6:12
kcynic9-Jul-07 6:12 
AnswerRe: CtAbout popupMenu Pin
Mark Salsbery9-Jul-07 6:34
Mark Salsbery9-Jul-07 6:34 
Questionlosing dimensions in metafile Pin
Force Code9-Jul-07 6:02
Force Code9-Jul-07 6:02 

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.