Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In C / C ++, you can write a system driver or firmware for a piece of iron.
There is a union
in C/C++ In C/C++ code, you can use assembler inserts
. The presence of the .NET Framework is not required, you can create a program that does not require any additional libraries and software at all.
What kind of bullshit is this?
What is in a screwdriver that is not in a hammer? A hammer can do a lot, even more than a screwdriver. And they can "hammer" the screw, but will there be an effect from this? And you can't drive a nail with a screwdriver. It turns out that a hammer can be larger, but a screwdriver is not needed?
Languages are made for different things. C# - to simplify and speed up the development of application programs, you can also go to the web, and the advantages were originally a refinement of C, which was an exclusively system language.
All the guys who answered are right, I’ll just clarify that the main thing is that everyone can use C and C++ on all platforms, unlike C#, which is tied to its small soft platform and plump framework (those without them, well, absolutely nowhere).
address arithmetic. I'm not sure that it is not directly in the sharps, but in the pluses it allows you to create magic and is used very often. This is in addition to the above.
The fundamental difference between C++ is that it is a language with zero cost abstractions. Those. on it, you can implement high-level abstractions that, at compile time, expand into code equivalent to pure c code written to solve the same problem. Of course, in practice everything is not so smooth, many C ++ functions are still missing, but most other languages \u200b\u200bdo not have such an opportunity in principle. So far, for C ++, the only real competitor in this regard is Rust, and even that is more likely in the future than in the present.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question