F
F
fasfer2017-04-21 16:09:19
C++ / C#
fasfer, 2017-04-21 16:09:19

Which is better for a beginner in C or C++ programming?

Maybe I want to become a systems programmer. Heard that you need to know C, C++, Asembler.
They say about C that it is not difficult, but outdated. C++ is said to be difficult for beginners. I decided to check it out. I read 130 pages of Stroustrup's book, it was hard and boring, although I understood everything. Maybe it's better to try si, despite the fact that they say that it is old? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2017-04-21
@fasfer

Assembler - for a beginner, it is not he who is needed, but a basic understanding of what machine codes are, in order to have an idea of ​​\u200b\u200bhow the platforms differ at the hardware level. An understanding of registers and bit depth will be helpful. Understand the dimension and architecture of memory.
You don't need to learn C now. Firstly, you don’t have to write in pure C, as a beginner, but as an experienced programmer, learn later.
Learning C++ is useful so you can write something. Popular language for embedded.
But even more important for a systems programmer is technology.
Take an arduino and make your own device, for example, the simplest controlled outlet. To work via usb, then add via wifi, come up with a web face with an API, now a system-programmed finished product, and you will be familiar with the technologies.

R
res2001, 2017-04-21
@res2001

Learn the pros, and C will catch up, because the syntax is the same only without classes and templates (and other things from the latest standards). And the nuances can be left for later.
C is needed, because it has a lot of code written on it. One way or another, the system engineer will have to read someone else's code. The same Linux kernel, for example, etc.

G
GavriKos, 2017-04-21
@GavriKos

If your level in programming is zero, then DO NOT start with either c or c++.
The questions "what language to start with" were raised on the toaster - google.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question