Description:
regardless of downloading, decompression, replication and so on, we can always see the progress bar this kind of thing. The progress bar in the Picture Form Visual window visually displays the computer to handle the current task the speed, the completion degree, the remaining completed task quantity, as well as needs the time and so on information, therefore we may realize a simple progress bar small program, in the CentOS environment under the Linux system to write, We will use the Ctags directive and the makefile file, so before we make sure that the current system has successfully installed Ctags.
※ If the Find command does not return the result, the ctags is not installed.
after ① successfully installed Ctags, create a directory in the workspace and create a. c file to enter the edit (here is main.c)
② saves and exits after typing the above code, creating makefile files to enter the edit.
③ in the current working directory to enter the CTAGS-R instructions, you will find more than one tags file in the directory. The directive's role is to create tags files recursively in the current directory and all subdirectories, and automatically load the Ctags file when the Vim editor is invoked, including a list of these objects in the Ctags file: macros defined with #define, values of enumerated variables, definitions of functions, C + + namespace, type definition typedef, variable definitions and declarations, classes and common custom types, and so on, vim through tags file on these objects have done the corresponding tag.
④ enters the make instruction, generates MAIN.C executable main, and then runs./main can see the result. You can then delete main as well as the resulting intermediate files through make clean.
★ Note: If you find that there are more than one line running, indicating the current window resolution problem, the font will be smaller or the window is stretched horizontally can see the normal output.