Legacy code is a source code that relates to a no-longer supported or manufactured operating system or other computer technology. C++ is considered to be one of the foundation languages for many new programming languages, so a lot of legacy code is still in C++. Well, that's what I found on the web anyway. hope this helps. Also, I would assume that means there isn't much of a difference.
https://hackr.io/blog/c-sharp-vs-cpp#:~:text=C%2B%2B%20is%20more%20prominent%20and%20considered%20one%20of,level%20of%20abstraction%20and%20offers%20automatic%20garbage%20collection . is where I found the first part,
the part about legacy code is found at https://www.typemock.com/what-every-c-developer-need-to-know-about-legacy-code/
From signing up with a Replit account and poking around, I discovered this:
C++ projects use the compiler
clang version 12.0.1
C++ (Legacy) projects use the compiler
clang version 7.0.0
In general, a newer compiler is a more capable compiler.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.