The first thing to do for development is to select an appropriate editor. The editor selection determines your development efficiency. Next I would like to talk about the three elements for choosing the appropriate compiler. In order to save development time, let's take a look at the following C ++
The first thing to do for development is to select an appropriate editor. The editor selection determines your development efficiency. Next I would like to talk about the three elements for choosing the appropriate compiler. In order to save development time, let's take a look at the following compiler selection elements for Linux development tools using C ++
1. Reduce Unnecessary editing actions and reduce the editing time.
All the editing tasks that can be described without ambiguity by using C ++ as a Linux development tool can and should be automated. For example, every C ++ program has a main function. when importing a file, you want to add some pre-processing commands # define to help us solve the trouble of repeatedly referencing the same header file. Mouse operations are always slower than keyboard operations. In this regard, EMACS is doing its best. Therefore, EMACS users often boast that their editing speed is the same as their thinking speed.
2. high scalability.
The editor intended by programmers who use C ++ for Linux development tools should be able to provide some programming help, such as syntax highlighting, automatic completion, automatic layout, and syntax check. Take a look at gedit, vim, emacs, and ultraEdit, and you will find that they provide far less simple functions than windows Notepad. For a new language and new syntax, they should be easily supported without stopping in one or more fixed languages.
3. high customization.
If you want to work on R & D for a long time, especially in linux/unix, you need to learn an editor with sufficient functions. There is one sentence: There are three types of programmers in Linux: emacs, vi, and others.
EMACS, a Linux development tool using C ++, is a GPL editor written by Stallman in lisp. The emacs mentioned here refers to GNU emacs, not Xemacs. Because of its openness, we can build it into a powerful IDE. After CGYwin is installed, EMACS can also be used in Windows. CGYwin and MINGW are third-party tools for simulating POSIX systems on Windows.
EMACS, a Linux development tool using C ++, is not so much an editor as an operating system. We can use it to write programming, write wiki, send and receive emails, and so on. EMACS is extended in two ways: el script (elisp is a dialect of lisp) and third-party extension package. EMACS has a high entry cost. Because it is a pure keyboard operation, you need to remember a large number of shortcut keys. the powerful function is achieved by adding some extension packages to the user, and the lisp script. Patience and skill are required to correctly configure and modify the configurations.