In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
# include
# include
# define WELCOME () printf ("\ 033 [8bot 15H\ 033 [36th 40m Welcome to * system\ 033 [0m\ n")
Int main (void)
{
Char core [50] = {0}
Char password [36] = {0}
Printf ("\ 33 [2J\ 033 [3X 10H\ 033 [; 32m work number:"); / /\ 33 [2J "clear screen" / /\ 033 [3X 10H "set 'work number' location" / / 033 [; 32m "set 'work number' font green, no background color" (since then all words in the program are green)
Printf ("\ 033 [4x 10H password:"); / /\ 033 [4x 10H "set the location of 'work ID'"
Printf ("\ 033 [3x 16H"); / /\ 033 [3x x 16H "set 'core' input location"
Scanf ("% s", core)
Printf ("\ 033 [4x 16H\ 33 [8m"); / /\ 033 [4x x 16H "set 'password' input position' / /\ 33 [8m" Shadow: hide characters entered by scanf thereafter "
Scanf ("% s", password)
Getchar ()
Printf ("\ 033 [41x 32m Text this position stat\ n"); / / 033 [; 32m "set the background color of the work number to red and the font green," (\ 33 [8m affects the font display, showing only the background color)
Printf ("- -\ n"); / / 33 [8m affects the font display, showing only the background color
Printf ("\ 033 [0m"); / / 033 [0m "clear all the above settings and return to normal"
Printf ("Restored normal\ n")
WELCOME (); / / Macro function
Printf ("\ n")
Printf ("\ n")
Printf ("\ n")
Int iTunes 0
For (iwhis1000; I > 0; iMurray -)
{
/ * function: to display numbers on the same line * /
/ * the cache data cannot be read without adding'\ n 'below% d, and the number will stutter * /
Printf ("\ 033 [1A%d\ 033 [K\ n", I); / / 033 [1A "setting: move the cursor up one line" / / 033 [K "setting: clear the content from the cursor to the end of the line" (this feature is required if numbers are displayed from large to small)
/ / printf ("\ 033 [10X 15H% d\ 033 [K\ n", I); / * method 2: / /\ 033 [10X 15H "specify the display location of I" / / 033 [K "setting: clear the content from the cursor to the end of the line" * /
/ * / method 3: this method will eventually clear the number
Printf ("\ 033 [s"); / /\ 033 [s "Settings: save cursor location"
Printf ("% d\ 033 [K\ n", I)
Printf ("\ 033 [u"); / /\ 033 [u "setting: restore cursor position"
, /
Usleep (10000)
}
Printf ("\ 033 [0m"); / / 033 [0m "setting: clear all settings"
Return 0
}
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.