Click here to Skip to main content
15,888,242 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
David Crow11-Jan-21 16:36
David Crow11-Jan-21 16:36 
AnswerRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill11-Jan-21 22:25
jackngill11-Jan-21 22:25 
AnswerRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan11-Jan-21 22:36
mveRichard MacCutchan11-Jan-21 22:36 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill11-Jan-21 22:58
jackngill11-Jan-21 22:58 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan11-Jan-21 23:09
mveRichard MacCutchan11-Jan-21 23:09 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill11-Jan-21 23:15
jackngill11-Jan-21 23:15 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan11-Jan-21 23:55
mveRichard MacCutchan11-Jan-21 23:55 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill12-Jan-21 9:46
jackngill12-Jan-21 9:46 
Hi Richard,
Sorry for not being attentive but I have been trying to find the book that you referred to in respect of "C" programming & I have finally sourced a copy albeit in PDF format but I have none-the-less found it, so I've got it now. Also I have been viewing a u-tube video which I have downloaded from here:
https://www.youtube.com/watch?v=KJgsSFOSQv0[^]
Only because I am the type of person if I can see it visually I tend to retain the info a bit better as I am not the sharpest tool in the toolbox if you know what I mean.
The narrator in the video mentions code::blocks which comes with IDE text editor & compiler to run the programs I selected the portable version with mingw to get started I will install tommorrow & give test run I have also been listening to some of the examples on the utube video. I may be able to break my code sample down into say 3 stages and run the code in Code::Blocks to check if the code is somewhere near possibly (Test-running)?

When you refer to the goto statements as being very bad practice in modern programming the only reason I opted to use these was because batch scripting is familair ground to me & Batch uses goto :labels therein quite a lot. Also one of the web-sites stated that goto statements are bad because of the dangers of spaghetti code, however they went onto say that if used sparingly & in the case of flag usage e.g. & only confined to purely isolated cases (like flags -X) they were, (although frowned upon) were permissable.
If I could use them until I acquire the necessary alternative skillset would it be okay for now given my obvious limitations. I could then interchange the new code with the goto code at a later date or is there another reason which I am missing here that I should not be using them, like they will not compile etc?
I will also attempt to amend the 1st post code with amended curly brackets.

Best Regards

modified 12-Jan-21 16:11pm.

GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan12-Jan-21 21:32
mveRichard MacCutchan12-Jan-21 21:32 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill13-Jan-21 5:24
jackngill13-Jan-21 5:24 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan13-Jan-21 1:50
mveRichard MacCutchan13-Jan-21 1:50 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill13-Jan-21 5:26
jackngill13-Jan-21 5:26 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan13-Jan-21 5:36
mveRichard MacCutchan13-Jan-21 5:36 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill14-Jan-21 12:04
jackngill14-Jan-21 12:04 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill15-Jan-21 23:59
jackngill15-Jan-21 23:59 
QuestionMFC: Most recently used (MRU) files Pin
Member 1325158810-Jan-21 18:18
Member 1325158810-Jan-21 18:18 
AnswerRe: MFC: Most recently used (MRU) files Pin
Victor Nijegorodov10-Jan-21 21:28
Victor Nijegorodov10-Jan-21 21:28 
GeneralRe: MFC: Most recently used (MRU) files Pin
Member 1325158810-Jan-21 22:11
Member 1325158810-Jan-21 22:11 
GeneralRe: MFC: Most recently used (MRU) files Pin
Victor Nijegorodov10-Jan-21 23:09
Victor Nijegorodov10-Jan-21 23:09 
QuestionReading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 4:55
Litu Sahoo10-Jan-21 4:55 
QuestionRe: Reading the Whole Array of Data from JSON Pin
David Crow10-Jan-21 5:32
David Crow10-Jan-21 5:32 
AnswerRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 6:21
Litu Sahoo10-Jan-21 6:21 
QuestionRe: Reading the Whole Array of Data from JSON Pin
David Crow10-Jan-21 9:05
David Crow10-Jan-21 9:05 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Victor Nijegorodov10-Jan-21 9:57
Victor Nijegorodov10-Jan-21 9:57 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 21:28
Litu Sahoo10-Jan-21 21:28 

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.