Q
Q
Question_man2019-04-07 21:15:51
C++ / C#
Question_man, 2019-04-07 21:15:51

Is it possible to strictly distinguish between C and C++?

I know the question is a little crazy, but it was forced by a recent conversation with one person. His theses are as follows: C++ is no longer a superstructure on C, and that C++ and C can be strictly distinguished, i.e. for "true" programming on the pluses, it is shameful to use either or functions from C. I will say right away that I am not a serious specialist in C / C ++, and, perhaps, I am far behind the trends, but is such a point of view entitled to exist within the current state of affairs?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2019-04-07
@Question_man

true C++
https://isocpp.github.io/CppCoreGuidelines/CppCore...
https://isocpp.org/faq
Too much to write already. Read it, draw your own conclusions.
https://isocpp.org/wiki/faq/mixing-c-and-cpp
ISO/IEC 14882:2017(E)
1 This document specifies requirements for implementations of the C++ programming language. The first such
requirement is that they implement the language, so this document also defines C++. Other requirements
and relaxations of the first requirement appear at various places within this document.
2 C++ is a general purpose programming language based on the C programming language as described in
ISO/IEC 9899:2011 Programming languages ​​— C (hereinafter referred to as the C standard) . In addition to
the facilities provided by C, C++ provides additional data types, classes, templates, exceptions, namespaces,
operator overloading, function name overloading, references, free store management operators, and additional
library facilities.

S
Sergey Gornostaev, 2019-04-07
@sergey-gornostaev

Technically, C++ is still C with pluses, but in fact it has gone very far from the original source, and today the styles and approaches to programming in these languages ​​differ significantly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question