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

C / C++ / MFC

 
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 
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 
Hi Richard Thumbs Up | :thumbsup:
Thanks for sharing your experience & advice it has ironed out quite a few wrinkles- I will Kinda work last to the first of your quotes or in reverse order.
Quote:
If you do it properly in the first place you will find there is no need for them. Whilst they will always compile they really are best avoided, especially as a new boy.

I see, what about if I used a "if" "else" statement like e.g. if the user types or stipulates the "-x" flag with "ECO" then "ECO" removes the CRLF/EOL, "else" the user fails to input "-x" flag then "ECO" just echo's one line of text to the screen in the same fashion the normal echo statement does? If this is a suitable alternative I will work on amending the code?
Quote:
I would recommend Visual Studio 2019 from Microsoft. It's free and runs natively, so does not require mingw.

I have downloaded the community edition of Visual Studio 2019 it seems to be the free version, will I need additional software to convert code (ECO.h) to EXE/COM once I have corrected all my errors? and last but not least... (Edit) Oop's It does not seem I will be able to use the 2019 version as it is asking for Dot net vers 4.6 which is a bridge too far for winXPSP3 I think Vers 4.0 was the last for XP I will look for earlier vers compatable with XP.
Quote:
Amazon has it The C Programming Language (2nd Edition): Amazon.co.uk: Kernighan, Brian, Ritchie, Dennis: 8601410794231: Books[^].

It's okay I have managed to get hold of a copy "The C Programming Language" & will inwardly digest & will be good for referencing study.

Best Regards
David
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 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo11-Jan-21 3:50
Litu Sahoo11-Jan-21 3:50 
QuestionHow to use C program to open a text file using Notepad? Pin
Goh Kak Ng9-Jan-21 15:23
Goh Kak Ng9-Jan-21 15:23 

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.