C + + refresh screen
C + + refresh screen
Method 1: clear the text and reprint
Use the system function to clear the text of the console, and then print again to achieve the effect of refreshing the screen
There is no need to talk more about the system function. Just go to the code:
#include <bits/stdc++.h>
#include <windows.h> //Sleep()
using name ...
Posted by harkonenn on Tue, 08 Mar 2022 18:59:32 +0100
cut of Linux command -- split the string, display or delete the contents of the specified field, and merge the contents of the file
1, Command introduction
The command cut can be used to split the string and display the content of the specified range. The text content can be displayed according to the specified byte range, character range and split field range. You can also merge the contents of multiple files.
2, Common options
optionexplain-bDisplays the characters ...
Posted by jwstockwell on Tue, 11 Jan 2022 00:59:16 +0100