C
C
coopjmz2017-09-06 23:17:35
C++ / C#
coopjmz, 2017-09-06 23:17:35

What is in C++ that is not in C#?

There are many things in C# that are not in C++, but are there things in the pros that are not in sharpe?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
1
15432, 2017-09-06
@15432

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.

S
SolidMinus, 2017-09-07
@SolidMinus

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.

N
Nikita Dergachov, 2017-09-06
@vanillathunder

Multiple inheritance.

D
Derevyanko Alexander, 2017-09-07
@dio4

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).

G
GavriKos, 2017-09-07
@GavriKos

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.

A
Ariox41, 2017-09-07
@Ariox41

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 question

Ask a Question

731 491 924 answers to any question