><FONT color=#ff0000>函数名: harderr </FONT>1 W Q$ }2 _: o* I4 M) h& c) m
><FONT color=#0000ff>#include <STDIO.H>2 X7 ^: O5 z3 I5 V) N6 H% m/ Q8 j
><FONT color=#0000ff>error_win(char *msg)
><FONT color=#0000ff>cputs(msg); </FONT></P>
><FONT color=#0000ff>/*prompt for user to press a key to abort, retry, ignore*/ 3 I/ b7 N% Q1 x8 c+ N8 E7 W9 H
><FONT color=#0000ff>return(retval);
><FONT color=#0000ff>/*pragma warn -par reduces warnings which occur 5 V8 }0 F R4 ]
><FONT color=#0000ff>int handler(int errval,int ax,int bp,int si)
><FONT color=#0000ff>if (ax < 0)
><FONT color=#0000ff>int main(void) - P9 h5 R) m4 ?+ f
ress any key ....\n"); Q6 b1 }8 ~+ W$ N
><FONT color=#ff0000>函数名: hardresume </FONT># m x. ~. i8 [; q) L/ H% O
><FONT color=#0000ff>/* This program will trap disk errors and prompt the user for action. */ ( e5 U# a1 X6 Q; ?; n5 V
><FONT color=#0000ff>#include <STDIO.H>- w' ^1 j6 `9 M3 C# ?7 V
><FONT color=#0000ff>#define IGNORE 0
><FONT color=#0000ff>int buf[500]; </FONT></P>. E9 ?% x5 P: j8 S
><FONT color=#0000ff>/* define the error messages for trapping disk problems */ @# y) h" N8 Q3 @% ^
><FONT color=#0000ff>error_win(char *msg)
><FONT color=#0000ff>cputs(msg); </FONT></P>) _# k, Z0 _4 V: J
><FONT color=#0000ff>/* prompt for user to press a key to abort, retry, ignore */
><FONT color=#0000ff>return(retval);
><FONT color=#0000ff>/* pragma warn -par reduces warnings which occur due to the non use */
><FONT color=#0000ff>int handler(int errval,int ax,int bp,int si) 1 H" Z% _: u* r- J- j- L
><FONT color=#0000ff>di= _DI; 9 }( r+ d* W. ?% y9 q
><FONT color=#0000ff>if (ax < 0) % P: c& N1 S, e9 Y8 T( A$ Z2 ?
><FONT color=#0000ff>int main(void)
ress any key ....\n"); ( }; U5 W4 @2 l9 g+ F, i. R' l. v
><FONT color=#ff0000>函数名: highvideo </FONT>
><FONT color=#0000ff>#include <CONIO.H></FONT></P>3 I0 X$ r# t4 g
><FONT color=#0000ff>int main(void) | 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |