><FONT color=#ff0000>函数名: harderr </FONT>: p' t, N! C& h! Y5 M
><FONT color=#0000ff>#include <STDIO.H>- a% E. W4 W* n/ J" Q: Q4 G& B
><FONT color=#0000ff>error_win(char *msg)
><FONT color=#0000ff>cputs(msg); </FONT></P>3 {9 U- n' A9 N- G$ x
><FONT color=#0000ff>/*prompt for user to press a key to abort, retry, ignore*/ * b- M7 S8 E Y7 e
><FONT color=#0000ff>return(retval);
><FONT color=#0000ff>/*pragma warn -par reduces warnings which occur
><FONT color=#0000ff>int handler(int errval,int ax,int bp,int si) $ S5 f8 R- y3 G: \& n$ w, m
><FONT color=#0000ff>if (ax < 0) ( t( Y+ t/ C# U
><FONT color=#0000ff>int main(void) 8 y6 l; o7 G* O: q9 G& U
ress any key ....\n"); 7 O% e" l9 N6 q% [
><FONT color=#ff0000>函数名: hardresume </FONT>
><FONT color=#0000ff>/* This program will trap disk errors and prompt the user for action. */ 8 \, P9 R% f+ w/ m2 j
><FONT color=#0000ff>#include <STDIO.H>
><FONT color=#0000ff>#define IGNORE 0 4 P8 o/ }- {- ]. x. ~' O3 T) o6 K) @
><FONT color=#0000ff>int buf[500]; </FONT></P>
><FONT color=#0000ff>/* define the error messages for trapping disk problems */
><FONT color=#0000ff>error_win(char *msg) . t' N; K5 H6 N( I
><FONT color=#0000ff>cputs(msg); </FONT></P>+ M& |( Y4 K: I" n
><FONT color=#0000ff>/* prompt for user to press a key to abort, retry, ignore */ 2 _' B8 d3 `0 l/ l5 \7 C; q! h( U9 Z
><FONT color=#0000ff>return(retval); & t1 p3 ~6 O4 E* K9 z* ]/ U, [4 N
><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)
><FONT color=#0000ff>di= _DI; + {3 M* t7 \/ V2 W. W0 f4 o$ a) f
><FONT color=#0000ff>if (ax < 0)
><FONT color=#0000ff>int main(void)
ress any key ....\n");
><FONT color=#ff0000>函数名: highvideo </FONT>
><FONT color=#0000ff>#include <CONIO.H></FONT></P>
><FONT color=#0000ff>int main(void) | 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |