funtc202b.dat

来自「指令字典2005里面可以方便的查找一些函数」· DAT 代码 · 共 21 行

DAT
21
字号
#include <stdio.h>
#include <conio.h>
#include <dos.h>
#define VIDEO 0x10
void movetoxy(int x, int y)
{
    union REGS regs;
    regs.h.ah = 2;
    regs.h.dh = y;
    regs.h.dl = x;
    regs.h.bh = 0;
    int86(VIDEO, &regs, &regs);
}
int main(void)
{
    clrscr();
    movetoxy(35, 10);
    printf("Hello");
    return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?