I
I
Ivan the Terrible2015-08-10 22:17:35
Programming
Ivan the Terrible, 2015-08-10 22:17:35

What's the difference between C, C#, C++?

What is the difference between these languages? Where does each of them apply more? What is the best language to learn for a beginner?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Dmitry Kovalsky, 2015-08-10
@dmitryKovalskiy

The difference is in the number of pluses. The first one has -0 , the second one has 4, the third one has 2. It is better for a beginner to learn C++. But seriously: C is a low-level language for system programming, drivers, and other low-level development. C++ is the same with class wraps, overloads, templates and some other features. C# - OOP language for .NET development - Microsoft technology stack for developing a wide variety of applications.

D
Dimonchik, 2015-08-10
@dimonchik2013

Ischo is Objective C

A
abcd0x00, 2015-08-11
@abcd0x00

What is the difference between these languages?

The C language is a language that is 40 years old, a lot of programs are written in it, so you will constantly encounter it in the world of computers.
The C++ language is a language created with only one purpose - to glorify its author in the same way that C glorified its own. Therefore, it is constantly opposed to C, while clearly falling short of it.
Here you have porridge-baby in the priorities of operations, and confusing syntax (sometimes excessively elongated or in the style of butter), a lot of entered keywords that kill any language, and the eternal incompleteness of built-in data types (a stack or queue that must be added before what to use).
But it is also many years old (it is 15 years younger than C), and performance has remained at the C level, so there is also a lot of code and there are many things that are not for C.
The C # language is a language created with only two goals - to kick Java from the market and pin programmers to Windows as much as possible so that they cannot leave it anywhere and are forced to install today's Hindu updates for dozens.
The language itself is good, it has everything, but its political focus makes the software work for Microsoft, and they usually do nothing for free and purposefully create problems out of thin air.
In summary, the well-designed languages ​​are C and C#, but C is minimalistic and easy to prepare for assembler (and this is also a 100% chance to learn), and C# is full of all the innovations, but suitable for switching to another good language.
And you need to program in Linux, everything for this is there.

A
Azim Kurt, 2015-08-10
@Symphony

This question has already been.
Answers here, please study:
stackoverflow.com/questions/692225/what-are-the-di...
www.quora.com/What-is-the-difference-between-C-C++...

V
Vitaly Pukhov, 2015-08-11
@Neuroware

It is easier for a beginner to master C#, but it is more useful to master C++, because after C#, learning C++ requires a lot of nerves (and unnecessary ones).

A
AASA-09, 2020-05-01
@AASA-09

Windows is written in C++

A
antonbozic99, 2021-08-20
@antonbozic99

C++ is C with objects (OOP). C# is C++++, but from Microsoft. That is, everything is there, a wonderful language, but from Microsoft (I'm hinting at attachment to Windows). I recommend learning C ++, a lot of things are written on it, for example, Windows. If you have to know C, then the transition will not be difficult, of course, if you are not dependent on OOP. From my experience, switching from C# to C/C++ is a hassle. But on the contrary - lightness. Unix is ​​also written in C, and from this, Linux with MacOS (*nix systems)
In short, learn C ++, like C, but it seems easier.
Here is an example material: ravesli.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question