Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
OYoooooo authored May 24, 2020
1 parent b100015 commit 8388b2b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions head.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include <stdlib.h>
static void before(void) __attribute__((constructor));
static void after(void) __attribute__((destructor));
static void middle(void);
static void before()
{
system("chcp 65001"); //切换字符集
system("cls");
}
static void after()
{
system("echo.");
system("pause");
}

0 comments on commit 8388b2b

Please sign in to comment.