wait_ms.c

来自「intel 196nt 例程」· C语言 代码 · 共 13 行

C
13
字号
/* Wait a number of milliseconds */
/* This loop is determined experimentally, and it might be very inaccurate. */
/* In fact, a change in compiler optimization could change the whole thing. */
void wait_ms( int x )
{
    int			i;
    int			j;

    for ( i = x; i > 0; i-- )
    for ( j = 0; j < 178; j++ )
	;
}

⌨️ 快捷键说明

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