# 跑馬燈~~ ```clike= #include <windows.h> #include <cstring> #include <iostream> using namespace std; int main() { char A[] = "ABCD "; int c=0; while(1) { cout<<'\r'; for(int i=0,j=strlen(A);i<strlen(A);i++) { cout <<A[(i%j+c)%j]; } c++; Sleep(100); } } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up