Click here to Skip to main content
14,774,702 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 23:36
mveRichard MacCutchan11-Jan-21 23:36 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill11-Jan-21 23:58
Memberjackngill11-Jan-21 23:58 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan12-Jan-21 0:09
mveRichard MacCutchan12-Jan-21 0:09 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill12-Jan-21 0:15
Memberjackngill12-Jan-21 0:15 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan12-Jan-21 0:55
mveRichard MacCutchan12-Jan-21 0:55 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill12-Jan-21 10:46
Memberjackngill12-Jan-21 10:46 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan12-Jan-21 22:32
mveRichard MacCutchan12-Jan-21 22:32 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill13-Jan-21 6:24
Memberjackngill13-Jan-21 6: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 2:50
mveRichard MacCutchan13-Jan-21 2:50 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill13-Jan-21 6:26
Memberjackngill13-Jan-21 6:26 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
Richard MacCutchan13-Jan-21 6:36
mveRichard MacCutchan13-Jan-21 6:36 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill14-Jan-21 13:04
Memberjackngill14-Jan-21 13:04 
GeneralRe: C Programming code to build an echo varient that hopefully can be used in WinXP Pin
jackngill16-Jan-21 0:59
Memberjackngill16-Jan-21 0:59 
QuestionMFC: Most recently used (MRU) files Pin
Member 1325158810-Jan-21 19:18
MemberMember 1325158810-Jan-21 19:18 
AnswerRe: MFC: Most recently used (MRU) files Pin
Victor Nijegorodov10-Jan-21 22:28
MemberVictor Nijegorodov10-Jan-21 22:28 
GeneralRe: MFC: Most recently used (MRU) files Pin
Member 1325158810-Jan-21 23:11
MemberMember 1325158810-Jan-21 23:11 
GeneralRe: MFC: Most recently used (MRU) files Pin
Victor Nijegorodov11-Jan-21 0:09
MemberVictor Nijegorodov11-Jan-21 0:09 
QuestionReading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 5:55
MemberLitu Sahoo10-Jan-21 5:55 
QuestionRe: Reading the Whole Array of Data from JSON Pin
David Crow10-Jan-21 6:32
MemberDavid Crow10-Jan-21 6:32 
AnswerRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 7:21
MemberLitu Sahoo10-Jan-21 7:21 
QuestionRe: Reading the Whole Array of Data from JSON Pin
David Crow10-Jan-21 10:05
MemberDavid Crow10-Jan-21 10:05 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Victor Nijegorodov10-Jan-21 10:57
MemberVictor Nijegorodov10-Jan-21 10:57 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo10-Jan-21 22:28
MemberLitu Sahoo10-Jan-21 22:28 
GeneralRe: Reading the Whole Array of Data from JSON Pin
Litu Sahoo11-Jan-21 4:50
MemberLitu Sahoo11-Jan-21 4:50 
QuestionHow to use C program to open a text file using Notepad? Pin
Goh Kak Ng9-Jan-21 16:23
MemberGoh Kak Ng9-Jan-21 16: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.