www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Can the DMC completely replace the C or C ++ compiler?

reply Marcone <marcone email.com> writes:
Well, I am writing a C++ program and compiling with DMC Digital 
Mars, and the program is running normally. Can the DMC completely 
replace the C or C ++ compiler?
May 06 2021
parent reply Adam D. Ruppe <destructionator gmail.com> writes:
On Thursday, 6 May 2021 at 19:59:01 UTC, Marcone wrote:
 Well, I am writing a C++ program and compiling with DMC Digital 
 Mars, and the program is running normally. Can the DMC 
 completely replace the C or C ++ compiler?
It IS a C and C++ compiler.
May 06 2021
parent reply Marcone <marcone email.com> writes:
On Thursday, 6 May 2021 at 20:10:29 UTC, Adam D. Ruppe wrote:
 On Thursday, 6 May 2021 at 19:59:01 UTC, Marcone wrote:
 Well, I am writing a C++ program and compiling with DMC 
 Digital Mars, and the program is running normally. Can the DMC 
 completely replace the C or C ++ compiler?
It IS a C and C++ compiler.
Is it compatible with C++ 17 or 20? Can I delete my MinGW and use only DMC for any project in C or C++?
May 06 2021
parent reply Adam D. Ruppe <destructionator gmail.com> writes:
On Thursday, 6 May 2021 at 20:21:32 UTC, Marcone wrote:
 Is it compatible with C++ 17 or 20?
No, it is based on the 1998 standard.
May 06 2021
parent Alain De Vos <devosalain ymail.com> writes:
If you only compile D programs you only need one compiler.
E.g. , ldmd2 , rdmd , ldc2
May 06 2021