Click here to Skip to main content
14,635,133 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 15:18
MemberBram van Kampen1-Feb-16 15:18 
QuestionDid some one use Eigen or Armadillo library to do calculation? Pin
smallkubi28-Jan-16 22:31
Membersmallkubi28-Jan-16 22:31 
AnswerRe: Did some one use Eigen or Armadillo library to do calculation? Pin
Jochen Arndt28-Jan-16 23:18
professionalJochen Arndt28-Jan-16 23:18 
GeneralRe: Did some one use Eigen or Armadillo library to do calculation? Pin
smallkubi29-Jan-16 1:43
Membersmallkubi29-Jan-16 1:43 
GeneralRe: Did some one use Eigen or Armadillo library to do calculation? Pin
Jochen Arndt29-Jan-16 2:00
professionalJochen Arndt29-Jan-16 2:00 
QuestionXML Image Changes im MFC Ribbon Pin
rajmohan 12328-Jan-16 20:57
Memberrajmohan 12328-Jan-16 20:57 
Questionhow to save print view to pdf? Pin
Le@rner27-Jan-16 22:29
MemberLe@rner27-Jan-16 22:29 
AnswerRe: how to save print view to pdf? Pin
Richard MacCutchan27-Jan-16 23:10
mveRichard MacCutchan27-Jan-16 23:10 
GeneralRe: how to save print view to pdf? Pin
Le@rner28-Jan-16 0:25
MemberLe@rner28-Jan-16 0:25 
GeneralRe: how to save print view to pdf? Pin
Richard MacCutchan28-Jan-16 1:12
mveRichard MacCutchan28-Jan-16 1:12 
QuestionWhat should constructor do? Pin
Vaclav_27-Jan-16 3:07
MemberVaclav_27-Jan-16 3:07 
AnswerRe: What should constructor do? Pin
Jochen Arndt27-Jan-16 4:10
professionalJochen Arndt27-Jan-16 4:10 
AnswerRe: What should constructor do? Pin
jschell27-Jan-16 9:06
Memberjschell27-Jan-16 9:06 
GeneralRe: What should constructor do? Pin
Vaclav_27-Jan-16 16:46
MemberVaclav_27-Jan-16 16:46 
AnswerRe: What should constructor do? Pin
CPallini27-Jan-16 21:40
mveCPallini27-Jan-16 21:40 
AnswerRe: What should constructor do? Pin
Albert Holguin28-Jan-16 5:26
professionalAlbert Holguin28-Jan-16 5:26 
QuestionEnable/Disable Ribbon Menu Item Dynamically Pin
rajmohan 12326-Jan-16 23:13
Memberrajmohan 12326-Jan-16 23:13 
AnswerRe: Enable/Disable Ribbon Menu Item Dynamically Pin
Jochen Arndt27-Jan-16 1:49
professionalJochen Arndt27-Jan-16 1:49 
GeneralRe: Enable/Disable Ribbon Menu Item Dynamically Pin
rajmohan 12327-Jan-16 21:14
Memberrajmohan 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
MemberDavid 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
MemberFrederick J. Harris26-Jan-16 12:49 
Been working on Matt Pietrek's code from an old Microsoft Systems Journal article he wrote about eliminating the C Runtime (LIBC or LIBCMT) from my C++ executables, i.e., using the linker /NODEFAULTLIB switch. Your own Mike_V
wrote a tutorial on that here too...

http://www.codeproject.com/Articles/15156/Tiny-C-Runtime-Library

Everything's working GREAT for me with it except for one point which really has me scratching my head. I can't figure out how to convert a floating point number to its string representation without using one of the printf family functions in the C Runtime. Of course, Win32 'covers' or has its own versions of some of these functions, e.g., wvsprintf in user32.lib has a format specifier parameter, but its not complete; it has everything but %f, which we need to convert a floating point number to a string buffer (try it and you'll see - it doesn't work). And I obviously can't use the C Runtime functions if I'm trying to eliminate them! Does anyone know of a Win32 function which can be used to convert a floating point number into a provided character string buffer??? On MSDN I found a whole bunch of odd named functions I'm totally unfamiliar with...

StringCchLength
StringCchPrintf_l
StringCchPrintf_lEx
StringCchPrintf
StringCchPrintfEx
StringCchVPrintf_l
StringCchVPrintf_lEx
StringCchVPrintf
StringCchVPrintfEx

...and was wondering if anyone knows if any of these or perhaps some other exists which would solve my problem?
AnswerRe: Win32 Function To Convert Floating Point Number To Character String Pin
Frederick J. Harris26-Jan-16 13:30
MemberFrederick J. Harris26-Jan-16 13:30 

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.