Linux implementation of progress bar applet __.net

Source: Internet
Author: User


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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.