1. while(1) //数字1,不是字母l { //你循环的的程序代码 } 2.for(;;) //括号中是两个分号...
include <stdio.h> include <conio.h> include <windows.h> main( ){ int p;while( ! _kbhit() ) { // run progs _cputs( "Please hit me ! \n" );Sleep(500);} return 0;}
1. while(1) //数字1,不是字母l { //你循环的的程序代码 } 2.for(;;) //括号中是两个分号...
include <stdio.h> include <conio.h> include <windows.h> main( ){ int p;while( ! _kbhit() ) { // run progs _cputs( "Please hit me ! \n" );Sleep(500);} return 0;}