M
M
min4er2018-10-16 10:34:15
linux
min4er, 2018-10-16 10:34:15

How to learn C / C++ on Linux?

Good afternoon.
Are there C/C++ horsemen here for Linux?
I mostly write in C# and Go. Here, life brought C / C ++ to indulge (pass someone else's project). I read something on this topic, I have general ideas about syntax, etc. However, textbooks usually describe the language itself, but say nothing about all sorts of GNU utilities and how to use them. For example, I will write the code with grief in half - not a question. And if it was about Visual C ++, then I would poke the build button and be like that. But how to deal with all sorts of GCC, MAKE, LD with a sea of ​​\u200b\u200bgloomy options and flags - it’s not at all clear what kind of crap it is. Is there any literature on C specifically in the context of assembly / linking and other charms for nixes?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
CityCat4, 2018-10-16
@CityCat4

info autotools
info cmake
Autotools (autoconf/automake/libtool and others) - older, more documented, more understandable
cmake - newer, but already used in many large and very large projects
JFYI: Linux also has GUI builders. But everything there still comes down to calling autotools / cmake, so you need to know what it is and how it works (at least in the most general terms)

V
Vladislav Lyskov, 2018-10-16
@Vlatqa

use ide? o0

O
OnYourLips, 2018-10-16
@OnYourLips

Start using IDEs, and not beginners, but normal ones.
Search YouTube for a tutorial on how to use your chosen IDE for Hello World.

S
Stalker_RED, 2018-10-16
@Stalker_RED

In visual studio, behind the build button, there are also a lot of gloomy settings hidden, if you dig.
If you want the compiler not to be configured - you need to go to some other language.
GCC Tutorial

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question