Click here to Skip to main content
15,907,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: knowing file version Pin
pix_programmer28-Jun-11 19:45
pix_programmer28-Jun-11 19:45 
QuestionKnowing path of MFC executable Pin
Sakhalean28-Jun-11 18:35
Sakhalean28-Jun-11 18:35 
AnswerRe: Knowing path of MFC executable Pin
ShilpiP28-Jun-11 19:02
ShilpiP28-Jun-11 19:02 
GeneralRe: Knowing path of MFC executable Pin
Sakhalean28-Jun-11 19:20
Sakhalean28-Jun-11 19:20 
GeneralRe: Knowing path of MFC executable Pin
pix_programmer28-Jun-11 19:34
pix_programmer28-Jun-11 19:34 
GeneralRe: Knowing path of MFC executable Pin
Randor 29-Jun-11 1:33
professional Randor 29-Jun-11 1:33 
GeneralRe: Knowing path of MFC executable Pin
Albert Holguin29-Jun-11 9:17
professionalAlbert Holguin29-Jun-11 9:17 
AnswerRe: Knowing path of MFC executable Pin
Charles Oppermann4-Aug-11 13:02
Charles Oppermann4-Aug-11 13:02 
AnswerRe: Knowing path of MFC executable Pin
softwaremonkey28-Jun-11 20:10
softwaremonkey28-Jun-11 20:10 
AnswerRe: Knowing path of MFC executable Pin
Chuck O'Toole29-Jun-11 15:57
Chuck O'Toole29-Jun-11 15:57 
QuestionCall Invoke() fails [modified] Pin
yaxiya28-Jun-11 16:29
yaxiya28-Jun-11 16:29 
AnswerRe: Call Invoke() fails Pin
David Crow28-Jun-11 16:53
David Crow28-Jun-11 16:53 
GeneralRe: Call Invoke() fails Pin
yaxiya28-Jun-11 17:05
yaxiya28-Jun-11 17:05 
QuestionCButton::DrawItem not called when owner dialog is "Restored" Pin
Albert Holguin28-Jun-11 9:24
professionalAlbert Holguin28-Jun-11 9:24 
AnswerRe: CButton::DrawItem not called when owner dialog is "Restored" Pin
Code-o-mat28-Jun-11 22:12
Code-o-mat28-Jun-11 22:12 
GeneralRe: CButton::DrawItem not called when owner dialog is "Restored" Pin
Albert Holguin29-Jun-11 7:51
professionalAlbert Holguin29-Jun-11 7:51 
GeneralRe: CButton::DrawItem not called when owner dialog is "Restored" Pin
Albert Holguin29-Jun-11 7:52
professionalAlbert Holguin29-Jun-11 7:52 
GeneralRe: CButton::DrawItem not called when owner dialog is "Restored" Pin
Code-o-mat29-Jun-11 7:56
Code-o-mat29-Jun-11 7:56 
QuestionREAD or WRITE .XLS File Pin
svkhadilkar28-Jun-11 6:01
svkhadilkar28-Jun-11 6:01 
AnswerRe: READ or WRITE .XLS File Pin
Richard MacCutchan28-Jun-11 6:55
mveRichard MacCutchan28-Jun-11 6:55 
Questionmissing zero in ostringstream format [modified] Pin
ed welch28-Jun-11 3:58
ed welch28-Jun-11 3:58 
I'm having trouble setting precision for floats using ostringstream.
I want all floats to have one digit after the decimal point (i.e 1.0f and 10.0f to be formated as "1.0" and "10.0"). However the 10 is coming out as "10.".
Is there any way to do it?
This is my code:
ostringstream os;
float incRate = 1.0f;
os.setf(ios_base::showpoint);
os << "incRate: " << setprecision(2) << incRate << 


modified on Tuesday, June 28, 2011 10:53 AM

AnswerRe: missing zero in ostringstream format Pin
enhzflep28-Jun-11 5:24
enhzflep28-Jun-11 5:24 
GeneralRe: missing zero in ostringstream format Pin
ed welch28-Jun-11 5:31
ed welch28-Jun-11 5:31 
GeneralRe: missing zero in ostringstream format Pin
enhzflep28-Jun-11 5:56
enhzflep28-Jun-11 5:56 
Question_atoi64 in VS10 Pin
gomathylakshmanan28-Jun-11 3:43
gomathylakshmanan28-Jun-11 3:43 

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.