align=center><FONT color=#0000ff size=3><B><FONT color=#cc0000>函数大全(k开头)</FONT></B></FONT>
><FONT color=#ff0000>函数名: kbhit </FONT>+ Q8 H0 G; j$ u# _: z
><FONT color=#0000ff>#include <CONIO.H></FONT></P> H8 T/ b l8 l$ t/ F) y
><FONT color=#0000ff>int main(void) 7 `! T. e! J) l) |
ress any key to continue:"); # [: S% W! {4 R3 P# x
><FONT color=#ff0000>函数名: keep </FONT>* G0 `1 t u3 j5 ?( S) w
><FONT color=#0000ff>/***NOTE: - A' E, {) j' S3 c. s
><FONT color=#0000ff>/* reduce heaplength and stacklength 6 n. z+ M% `# n8 ] C! S7 b
><FONT color=#0000ff>void interrupt ( *oldhandler)(void); </FONT></P>- c) j& G3 L& T0 p: K. T
><FONT color=#0000ff>void interrupt handler(void) 0 Z; r4 i7 ~9 k
><FONT color=#0000ff>/* For a color screen the video memory 6 |! c. J4 r, V& M# W$ w
><FONT color=#0000ff>/* increase the counter and keep it ( S$ s; ]2 N- h0 J4 }
><FONT color=#0000ff>/* put the number on the screen */
><FONT color=#0000ff>/* call the old interrupt handler */ 3 P/ S) A7 C0 `6 c
><FONT color=#0000ff>int main(void) 7 N4 w; D' |3 D8 n0 e! ~: @
><FONT color=#0000ff>/* get the address of the current clock
><FONT color=#0000ff>/* install the new interrupt handler */ ( I$ v9 C" X" n) o
><FONT color=#0000ff>/* _psp is the starting address of the
><FONT color=#ff0000>函数名: kbhit </FONT>
><FONT color=#0000ff>#include <CONIO.H></FONT></P>
><FONT color=#0000ff>int main(void)
ress any key to continue:"); , g* a) s2 P4 t! r
><FONT color=#ff0000>函数名: keep </FONT><FONT color=#0000ff>" t1 ~1 [, M. L& x$ E3 k F
><FONT color=#0000ff>/***NOTE: 0 q; `; S# z: H! K% _) G! ~! K
><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 * _0 Z0 c) P9 e3 ]1 s% {& d
><FONT color=#0000ff>/* increase the counter and keep it
><FONT color=#0000ff>/* put the number on the screen */ | 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |