Answer the question
In order to leave comments, you need to log in
What tools do you use when developing in C++?
Friends. I am not a professional programmer, I do not plan to become one, but this process is addictive, and I want to approach my own projects like a real programmer, and not a "knee pad".
I constantly read Habr and in many articles people use different tools to parse and debug their code.
Memory profilers, debuggers and more.
But I didn’t find where to read about what tools are used in production, apparently because the question is from the category (what task is the tool for?).
And for any.
My development process starts with writing code, a little refactoring, compiling, and if something doesn't work, a debugger.
I write under Linux by the way.
The request is really simple.
You, as a C++ developer (the question is for them) (preferably under linux), could you give a short list of what utilities and tools you use when writing and debugging code (like static analyzers and all that).
In general, what you use every day when you debug the code. Well, a brief explanation of what you use them for.
I just want to read who, what and for what uses and learns the right practice.
Answer the question
In order to leave comments, you need to log in
1) IDE (QtCretor) -- no comments
2) gcc -- compiler, gdb -- debugger; sometimes clang/lldb
3) git and tig (text interface for git)
4) valgrind -- mostly profiling
5) meld -- diffs
6) vim -- when you need to edit something on the server
7) browser -- no comments
8) Well, different console utilities as needed, grep, sed, nm...
9) cppcheck -- static analysis
10) Sometimes clang sanitizers
1. Morphological and grammatical dictionary of the Russian language.
2. You can also write code in a notepad. Use whatever you like for this. You can also use an IDE with an interface for debugging
3. Know a couple of methods for debugging and their application. After mastering them, you will understand how to debug any code using any debugger.
4. To speed up the process of searching for information, master "regular expressions".
5. Get familiar with version control systems. Start using any of them for your projects.
6. If you write under Linux, then master the concepts and basic concepts of the OS, commonly used utilities, especially those that work with text. Based on the experience from the previous paragraphs, this will give a huge boost to the search for information on the system as a whole.
7. For pluses, you need to master the basics. After that, you can delve into the various wilds of the entire language.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question