Click here to Skip to main content
15,889,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Richard MacCutchan22-Nov-17 0:46
mveRichard MacCutchan22-Nov-17 0:46 
AnswerRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Graham Breach21-Nov-17 21:14
Graham Breach21-Nov-17 21:14 
AnswerRe: ISSUE - TCP/IP sockets in MFC VS2017 Pin
Victor Nijegorodov22-Nov-17 10:07
Victor Nijegorodov22-Nov-17 10:07 
QuestionFiguring Out How to Test Code Pin
Member 1352762517-Nov-17 16:48
Member 1352762517-Nov-17 16:48 
AnswerRe: Figuring Out How to Test Code Pin
Richard MacCutchan17-Nov-17 21:43
mveRichard MacCutchan17-Nov-17 21:43 
GeneralRe: Figuring Out How to Test Code Pin
Member 1352762519-Nov-17 10:34
Member 1352762519-Nov-17 10:34 
GeneralRe: Figuring Out How to Test Code Pin
Victor Nijegorodov19-Nov-17 21:07
Victor Nijegorodov19-Nov-17 21:07 
GeneralRe: Figuring Out How to Test Code Pin
Richard MacCutchan19-Nov-17 21:49
mveRichard MacCutchan19-Nov-17 21:49 
GeneralRe: Figuring Out How to Test Code Pin
CPallini21-Nov-17 21:51
mveCPallini21-Nov-17 21:51 
AnswerRe: Figuring Out How to Test Code Pin
jschell20-Nov-17 6:26
jschell20-Nov-17 6:26 
AnswerRe: Figuring Out How to Test Code Pin
ThatsAlok20-Nov-17 20:10
ThatsAlok20-Nov-17 20:10 
QuestionC++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 3:15
charlieg16-Nov-17 3:15 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Jochen Arndt16-Nov-17 3:51
professionalJochen Arndt16-Nov-17 3:51 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 5:20
charlieg16-Nov-17 5:20 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Richard MacCutchan16-Nov-17 4:00
mveRichard MacCutchan16-Nov-17 4:00 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 5:21
charlieg16-Nov-17 5:21 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Richard MacCutchan16-Nov-17 21:28
mveRichard MacCutchan16-Nov-17 21:28 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Maximilien16-Nov-17 5:45
Maximilien16-Nov-17 5:45 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 11:11
charlieg16-Nov-17 11:11 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
jschell16-Nov-17 13:27
jschell16-Nov-17 13:27 
charlieg wrote:
why is it so elephanting difficult to format a string into a buffer in standard C++?


What does that mean exactly? Both 'format' and in general why would you think that something would make it easy.

As I recall as to what I think you are referring in the cases in the past if I had a specific fixed need to put/get values into a buffer then I just wrote a class that did it appropriately. It would have get/set methods that would do the correct thing for the buffer.

Then there were a couple of management methods that set the buffer up, extracted it, etc.

Similar but simpler than the way XML/Json libraries work. And long ago I created at least one implementation that did things similar too those with multiple types and I did it in C++.
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg17-Nov-17 7:17
charlieg17-Nov-17 7:17 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
jschell17-Nov-17 10:45
jschell17-Nov-17 10:45 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
CPallini23-Nov-17 22:29
mveCPallini23-Nov-17 22:29 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg29-Nov-17 11:19
charlieg29-Nov-17 11:19 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
CPallini29-Nov-17 11:42
mveCPallini29-Nov-17 11:42 

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.