align=center><FONT color=#0000ff size=3><B><FONT color=#cc0000>函数大全(k开头)</FONT></B></FONT>$ M4 V# w4 ]+ p" w: H! m; y) X
><FONT color=#ff0000>函数名: kbhit </FONT># U& S- ^5 K: S# {! g: x" T
><FONT color=#0000ff>#include <CONIO.H></FONT></P>5 ~3 w* U& W, z4 q" `" \" U2 c
><FONT color=#0000ff>int main(void) ' u+ N9 h* m/ t" L4 _ x! ~
ress any key to continue:"); ) n P1 n- l, v4 r# @( a
><FONT color=#ff0000>函数名: keep </FONT>
><FONT color=#0000ff>/***NOTE:
><FONT color=#0000ff>/* reduce heaplength and stacklength
><FONT color=#0000ff>void interrupt ( *oldhandler)(void); </FONT></P>
><FONT color=#0000ff>void interrupt handler(void)
><FONT color=#0000ff>/* For a color screen the video memory - t) g/ D; \: R! q [
><FONT color=#0000ff>/* increase the counter and keep it
><FONT color=#0000ff>/* put the number on the screen */ # l$ j$ j7 \0 e' G( S2 z
><FONT color=#0000ff>/* call the old interrupt handler */
><FONT color=#0000ff>int main(void) / B( G c: x `9 K( S# `
><FONT color=#0000ff>/* get the address of the current clock
><FONT color=#0000ff>/* install the new interrupt handler */
><FONT color=#0000ff>/* _psp is the starting address of the
><FONT color=#ff0000>函数名: kbhit </FONT>
><FONT color=#0000ff>#include <CONIO.H></FONT></P>* G) N4 e% p! D4 {/ w2 l) Y
><FONT color=#0000ff>int main(void) ' Q% _5 P$ o+ s& |
ress any key to continue:");
><FONT color=#ff0000>函数名: keep </FONT><FONT color=#0000ff>
><FONT color=#0000ff>/***NOTE: ; X- S3 _: T( q& ^, b; ?3 S
><FONT color=#0000ff>/* reduce heaplength and stacklength - D n" I% z$ A( M! d. D1 p. }
><FONT color=#0000ff>void interrupt ( *oldhandler)(void); </FONT></P>& h4 k& U" h1 E" X) ^$ y6 v. f7 X
><FONT color=#0000ff>void interrupt handler(void) 2 g' {1 g1 Q4 D
><FONT color=#0000ff>/* For a color screen the video memory # \/ ^1 D! v8 G* m! n' u7 I
><FONT color=#0000ff>/* increase the counter and keep it
><FONT color=#0000ff>/* put the number on the screen */ ! B1 G# x3 i) b+ m| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |