在vscode里面新建main. c,但没有自动生成工作区的文件夹
不知道你这个问题是否已经解决, 如果还没有解决的话:#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");
}