Click here to Skip to main content
15,898,942 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WNetGetConnection API behaves wrongly when UAC is enabled Pin
Malli_S4-Feb-14 22:00
Malli_S4-Feb-14 22:00 
GeneralRe: WNetGetConnection API behaves wrongly when UAC is enabled Pin
atm.menon12-Feb-14 15:38
atm.menon12-Feb-14 15:38 
QuestionLining up the Decimal Points Pin
BobInNJ4-Feb-14 16:50
BobInNJ4-Feb-14 16:50 
AnswerRe: Lining up the Decimal Points Pin
Malli_S4-Feb-14 21:58
Malli_S4-Feb-14 21:58 
GeneralRe: Lining up the Decimal Points Pin
BobInNJ5-Feb-14 3:24
BobInNJ5-Feb-14 3:24 
GeneralRe: Lining up the Decimal Points Pin
Malli_S5-Feb-14 21:12
Malli_S5-Feb-14 21:12 
QuestionRe: Lining up the Decimal Points Pin
David Crow5-Feb-14 6:18
David Crow5-Feb-14 6:18 
AnswerRe: Lining up the Decimal Points Pin
BobInNJ5-Feb-14 11:10
BobInNJ5-Feb-14 11:10 
I tried it with std::left, without std::left and with std::right. In all three cases it did not work. What I believe the problem is that there is no way to specified a fixed number of digits along with a fixed number of digits to the right of the decimal point. I think I am going to go use sprintf and then send the output the string sprintf produces. It is not the "C++ way" of doing things but it works.

I want to thank the group for their responses.

Bob
SuggestionRe: Lining up the Decimal Points Pin
David Crow5-Feb-14 16:07
David Crow5-Feb-14 16:07 
GeneralRe: Lining up the Decimal Points Pin
BobInNJ6-Feb-14 2:10
BobInNJ6-Feb-14 2:10 
QuestionProper array memory management in C++ Pin
Don Guy3-Feb-14 12:43
Don Guy3-Feb-14 12:43 
AnswerRe: Proper array memory management in C++ Pin
Richard MacCutchan3-Feb-14 21:42
mveRichard MacCutchan3-Feb-14 21:42 
AnswerRe: Proper array memory management in C++ Pin
Maximilien4-Feb-14 5:26
Maximilien4-Feb-14 5:26 
GeneralRe: Proper array memory management in C++ Pin
jschell6-Feb-14 8:34
jschell6-Feb-14 8:34 
AnswerRe: Proper array memory management in C++ Pin
Malli_S4-Feb-14 22:14
Malli_S4-Feb-14 22:14 
QuestionRelative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_31-Jan-14 10:18
Vaclav_31-Jan-14 10:18 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Garth J Lancaster31-Jan-14 10:57
professionalGarth J Lancaster31-Jan-14 10:57 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
jeron131-Jan-14 11:00
jeron131-Jan-14 11:00 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_31-Jan-14 11:09
Vaclav_31-Jan-14 11:09 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Richard Andrew x6431-Jan-14 11:25
professionalRichard Andrew x6431-Jan-14 11:25 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Richard MacCutchan31-Jan-14 22:13
mveRichard MacCutchan31-Jan-14 22:13 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_1-Feb-14 16:14
Vaclav_1-Feb-14 16:14 
AnswerRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Randor 1-Feb-14 21:20
professional Randor 1-Feb-14 21:20 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Vaclav_2-Feb-14 3:50
Vaclav_2-Feb-14 3:50 
GeneralRe: Relative path for #include directive - how to specify subdirectory on "down"level Pin
Richard MacCutchan1-Feb-14 21:24
mveRichard MacCutchan1-Feb-14 21:24 

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.