Created
December 8, 2016 06:57
-
-
Save NakanishiTetsuhiro/e588c01b2861512e3bef3e481f42112b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <unistd.h> | |
| int main(void) { | |
| while(1){ | |
| printf(" -\r"); | |
| usleep(100000); | |
| fflush(stdout); | |
| printf(" \\\r"); | |
| usleep(100000); | |
| fflush(stdout); | |
| printf(" |\r"); | |
| usleep(100000); | |
| fflush(stdout); | |
| printf(" /\r"); | |
| usleep(100000); | |
| fflush(stdout); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment