Answer the question
In order to leave comments, you need to log in
How to write in pure C under Linux?
I want to completely switch to Linux. At the same time, I study python, there are no problems with it in Linux, but on the contrary, everything contributes to a good work with this language. But with SI, things are a little tighter.
Please tell me a good proven IDE for this business and a tutorial or training video (even better).
Everything that I find about SI under Linux is a bit poor and does not inspire interest.
If possible, describe how you write in this PL or C++ under Linux. Perhaps your experience will help.
Answer the question
In order to leave comments, you need to log in
I support Armenian Radio
I myself use three options: cat > file.c (for momentary small things), mcedit (for small things that are already difficult to type with a simple cat) and geany (a full-fledged IDE, but I only use it as an editor for large files and/or projects with a bunch of files).
IDE options under C for Linux - WAGON . I went through mcedit, KDevelop, Code::Blocks, eclipse (my eyes wouldn't see it) and settled on QtCreator. With the advent of QBS, it became very pleasant to work.
A good IDE and Linux is just ridiculous. One continuous clumsy artisanal Avno. The situation is somewhat pulled out by JetBrains products, in particular PyCharm for python is tolerable, but they are just babies compared to Visual Studio. And for C, any IDE that works with C ++ is suitable.
There is a great IDE for linux/bsd/etc - CLion. It will simplify your work at times, the main thing is to read the tips.
If you are going to work and live on Linux, I advise you to look towards vim / emacs. The latter can be turned into a super convenient ide, better than any clion, by means of simple settings (of which the car is in the same "pipe"). In addition, vim / emacs work both from the gui and in the terminal. Plus, you don't have to pay anyone.
I took the basis of Emacs settings from here https://youtu.be/HTUE03LnaXA
At the expense of C under Linux, if about sources, then everything is simple: man [func] - will give help directly in the terminal, an opennet resource where there are a lot of different useful things about C including man pages in Russian, "The C Programming Language. 2nd Edition" by Kernighan and Ritchie, Stephen Prata "The C Programming Language. Lectures and Practice", David Griffiths "Learning C Programming".
And in conclusion, I recommend, well, this is purely IMHO, to use clang instead of gcc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question