Click here to Skip to main content
15,885,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enable/Disable Ribbon Menu Item Dynamically Pin
rajmohan 12327-Jan-16 21:14
rajmohan 12327-Jan-16 21:14 
GeneralRe: Enable/Disable Ribbon Menu Item Dynamically Pin
Jochen Arndt27-Jan-16 21:35
professionalJochen Arndt27-Jan-16 21:35 
QuestionInterview Test Question Pin
Richard Andrew x6426-Jan-16 13:18
professionalRichard Andrew x6426-Jan-16 13:18 
AnswerRe: Interview Test Question Pin
David Crow27-Jan-16 4:22
David Crow27-Jan-16 4:22 
AnswerRe: Interview Test Question Pin
Albert Holguin28-Jan-16 5:13
professionalAlbert Holguin28-Jan-16 5:13 
QuestionWin32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris26-Jan-16 12:49
Frederick J. Harris26-Jan-16 12:49 
AnswerRe: Win32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris26-Jan-16 13:30
Frederick J. Harris26-Jan-16 13:30 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris26-Jan-16 17:18
Frederick J. Harris26-Jan-16 17:18 
Nope. Doesn't work. Unless someone can tell me different, here's the way I see it.

Even if I find a Windows specific function that will take as an input parameter a floating point number and output into a character buffer an asci or wide character rendering, I won't be able to use it against the /NODEFAULTLIB linker switch, because it'll just be a wrapper that calls one of the functions in the C Runtime. And it'll give me linker errors. That's what happened with StringCchPrintf().

So at this point, unless someone can tell me different, I see my only choices as these two...

1) Give up on any window/console/file output using floating point numbers without the C Runtime;

2) Write my own floating point package involving the fpu.

I guess I'll try option #2 above. I see at the masm32 site there is an fpu package with assembler source available. However, I hadn't mentioned, I'm really doing 64 bit and need that. So I've got my work cut out for me.

The reason I'm doing this is because I hate the bloat of modern software. Can't take it anymore. I like C++ OK but I won't use any C++ Std. Lib. code. I write all my own library code, string class, dynamic multidimensional arrays, whatever I need, etc. So now I guess I need to come up with my own floating point code. Please save me somebody! Tell me I'm wrong!
AnswerRe: Win32 Function To Convert Floating Point Number To Character String Pin
Jochen Arndt26-Jan-16 21:47
professionalJochen Arndt26-Jan-16 21:47 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris27-Jan-16 10:01
Frederick J. Harris27-Jan-16 10:01 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Jochen Arndt27-Jan-16 21:26
professionalJochen Arndt27-Jan-16 21:26 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris28-Jan-16 4:22
Frederick J. Harris28-Jan-16 4:22 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Jochen Arndt28-Jan-16 4:45
professionalJochen Arndt28-Jan-16 4:45 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris29-Jan-16 5:10
Frederick J. Harris29-Jan-16 5:10 
GeneralRe: Win32 Function To Convert Floating Point Number To Character String Pin
Jochen Arndt29-Jan-16 5:34
professionalJochen Arndt29-Jan-16 5:34 
AnswerRe: Win32 Function To Convert Floating Point Number To Character String Pin
Richard MacCutchan26-Jan-16 22:27
mveRichard MacCutchan26-Jan-16 22:27 
QuestionC, Win32 API: l need help with tab control [Solved] Pin
Member 1213944226-Jan-16 11:20
Member 1213944226-Jan-16 11:20 
AnswerRe: C, Win32 API: l need help with tab control Pin
bling26-Jan-16 12:03
bling26-Jan-16 12:03 
GeneralRe: C, Win32 API: l need help with tab control Pin
Member 1213944226-Jan-16 21:07
Member 1213944226-Jan-16 21:07 
GeneralRe: C, Win32 API: l need help with tab control Pin
bling27-Jan-16 14:15
bling27-Jan-16 14:15 
AnswerRe: C, Win32 API: l need help with tab control Pin
Richard MacCutchan26-Jan-16 22:34
mveRichard MacCutchan26-Jan-16 22:34 
QuestionRe: C, Win32 API: l need help with tab control Pin
David Crow27-Jan-16 4:27
David Crow27-Jan-16 4:27 
QuestionToo many initializers error in MSVC. Pin
Brisingr Aerowing20-Jan-16 13:02
professionalBrisingr Aerowing20-Jan-16 13:02 
SuggestionRe: Too many initializers error in MSVC. Pin
David Crow22-Jan-16 4:49
David Crow22-Jan-16 4:49 
GeneralRe: Too many initializers error in MSVC. Pin
Brisingr Aerowing22-Jan-16 5:02
professionalBrisingr Aerowing22-Jan-16 5: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.