Click here to Skip to main content
15,888,158 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C/C++ goodies here! Pin
Anthony_Yio10-Oct-03 23:16
Anthony_Yio10-Oct-03 23:16 
GeneralUnable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær10-Oct-03 1:50
Oliver Christian Kjær10-Oct-03 1:50 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Steve S10-Oct-03 1:57
Steve S10-Oct-03 1:57 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær10-Oct-03 2:29
Oliver Christian Kjær10-Oct-03 2:29 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær10-Oct-03 3:28
Oliver Christian Kjær10-Oct-03 3:28 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Steve S13-Oct-03 5:31
Steve S13-Oct-03 5:31 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær14-Oct-03 21:41
Oliver Christian Kjær14-Oct-03 21:41 
Generalfloat precision Pin
OO-P10-Oct-03 1:11
OO-P10-Oct-03 1:11 
hello , how can i set float precisoin in mfc ? I get like this format ex. 1.500000 what i want is to print just 3 number after the decimal point .
my code :
CString temp;
float price =20.570;
sprintf(temp,"%f",price);

i got this 20.570000 how can i make the decimal point print just 3 number like this
20.570 and thank you .
GeneralRe: float precision Pin
Anthony_Yio10-Oct-03 1:33
Anthony_Yio10-Oct-03 1:33 
GeneralRichEdit with Treeview - associating and saving Pin
Kayembi10-Oct-03 0:49
Kayembi10-Oct-03 0:49 
GeneralRe: RichEdit with Treeview - associating and saving Pin
Steve S10-Oct-03 1:42
Steve S10-Oct-03 1:42 
GeneralMFC printing: size and orientation Pin
zsnow9-Oct-03 23:40
zsnow9-Oct-03 23:40 
GeneralRe: MFC printing: size and orientation Pin
Steve S10-Oct-03 1:39
Steve S10-Oct-03 1:39 
GeneralRe: MFC printing: size and orientation Pin
zsnow10-Oct-03 2:14
zsnow10-Oct-03 2:14 
GeneralRe: MFC printing: size and orientation Pin
Steve S10-Oct-03 4:48
Steve S10-Oct-03 4:48 
GeneralRe: MFC printing: size and orientation Pin
Steve S10-Oct-03 4:56
Steve S10-Oct-03 4:56 
GeneralPrintDlgEx Pin
«_Superman_»9-Oct-03 23:11
professional«_Superman_»9-Oct-03 23:11 
GeneralAn interesting code Pin
FlyingDancer9-Oct-03 21:44
FlyingDancer9-Oct-03 21:44 
GeneralWhat does this do? Pin
Joaquín M López Muñoz9-Oct-03 21:51
Joaquín M López Muñoz9-Oct-03 21:51 
GeneralRe: What does this do? Pin
FlyingDancer9-Oct-03 22:20
FlyingDancer9-Oct-03 22:20 
GeneralRe: What does this do? Pin
jhwurmbach9-Oct-03 22:44
jhwurmbach9-Oct-03 22:44 
GeneralRe: What does this do? Pin
FlyingDancer9-Oct-03 23:24
FlyingDancer9-Oct-03 23:24 
GeneralRe: What does this do? Pin
jhwurmbach10-Oct-03 1:31
jhwurmbach10-Oct-03 1:31 
GeneralRe: What does this do? Pin
Steve S10-Oct-03 1:44
Steve S10-Oct-03 1:44 
GeneralRe: What does this do? Pin
jhwurmbach10-Oct-03 1:50
jhwurmbach10-Oct-03 1:50 

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.