Guidelines for reincarnating in the world of linux programming development (C / C ++ language)

I give it to you who have been biting programming without knowing it well on Windows. While saying that, based on the basics, an invitation to a development environment using VS Code.

Target audience

――I've done something like programming with Visual Studio (or something like Arduio) on Windows! Person --Someone who understands C or C ++ --People who have offline Linux without GUI (desktop) environment

Is there something like Visual Studio on linux?

In the case of linux with GUI, there are various things such as Eclipse. However, in the case of CUI, there are not many options. It seems that you need something like prerequisite knowledge for programming development.

What was Visual Studio doing?

Visual Studio is a kind of software called IDE (Integrated Development Environment) and includes the following functions.

--Text editor (edit code) --linter (Ability to parse code and warn before compiling (well helped!)) --Compiler (You are doing something before execution) --Debugger (You can set breakpoints during execution, right?)

Linux tools for each function of the IDE

In the CUI environment, the following tools should be combined for development.

I have a lot to remember!

Let's google for the time being. It has a long history, so you can use it. In some cases, I also write a Makefile. The most difficult things are as follows.

--You have to get used to a command line text editor. --You can also specify breakpoints with commands.

No, wait! Don't do this!

I agree. You who have completed the tutorial on how to use each tool. First of all, thank you for your hard work. But it's hard no matter how much time you have.

So VS Code Remote Development.

There is a great tool called VSCode Remote Development. As long as ssh is connected, both the editor and debugger can be operated from the GUI via ssh.

Let's use VS Code.

That was the story. It is easy to install in an online environment. If you are in an offline environment, refer to the following article to build it.

Introduce VS Code and Remote Development to an offline environment to make linux development comfortable https://qiita.com/ihatomorio/items/af61a2593f4ed1d4085c

Recommended Posts

Guidelines for reincarnating in the world of linux programming development (C / C ++ language)
The story of building the fastest Linux environment in the world
[C language] [Linux] Get the value of environment variable
Programming language in "Hello World"
How to limit the API to be published in the C language shared library of Linux
Programming to fight in the world ~ 5-1
Programming to fight in the world ~ 5-5,5-6
Programming to fight in the world 5-3
Programming to fight in the world ~ 5-2
Can the F1C100s dream of embedded development for mediocre Linux users?
The most sought after programming language in 2020
[Understanding in 3 minutes] The beginning of Linux
Implement part of the process in C ++
Draw graphs in the programming language Julia
A story about trying to improve the testing process of a system written in C language for 20 years
How to display the modification date of a file in C language up to nanoseconds
In the middle of development, we will introduce Alembic
Check for the existence of BigQuery tables in Java
Library for measuring execution time in Linux C applications
I tried to rewrite the WEB server of the normal Linux programming 1st edition with C ++ 14
Avoiding the pitfalls of using a Mac (for Linux users?)
Check the operation of Python for .NET in each environment
Django + MongoDB development environment maintenance (in the middle of writing)
A note for embedding the scripting language in a bash script
Note 2 for embedding the scripting language in a bash script
Summary of stumbling blocks in Django for the first time
I tried to illustrate the time and time in C language
Get own process name at runtime in C / C ++ (for Linux)
Get the number of occurrences for each element in the list
[Tips] Problems and solutions in the development of python + kivy
Google search for the last line of the file in Python
Explanation of CSV and implementation example in each programming language
[Linux] [Initial Settings] Table of Contents for Development Environment Setup
"Book to train programming skills to fight in the world" Python code answer example --1.4 Permutation of sentences
Can it be done in 1 minute? No installation required, Google Test sample for C language for Linux
Machine language embedding in C language
Heapsort made in C language
Hello World in GO language
The popularity of programming languages
Wrap (part of) the AtCoder Library in Cython for use in Python
Django cannot be installed in the development environment of pipenv + pyenv
Check the memory protection of linux kerne with the code for ARM
Dockerfile with the necessary libraries for natural language processing in python
Find the rank of a matrix in the XOR world (rank of a matrix on F2)
I want to know the population of each country in the world.
Using TensorFlow in the cloud integrated development environment Cloud9 ~ Basics of usage ~
for, continue, break Explain the flow of iterative processing in Python3-Part 1
A programming language that young people will need in the future
For Python beginners. You may be confused if you don't know the general term of the programming language Collection.