><FONT color=#ff0000>函数名: harderr </FONT>
><FONT color=#0000ff>#include <STDIO.H>
><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*/ # x4 Z; E5 d; W/ j' |" s
><FONT color=#0000ff>return(retval);
><FONT color=#0000ff>/*pragma warn -par reduces warnings which occur * m! ]* c4 i4 A' v; A: o F
><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) 8 x# N& T% t9 ^; U. J2 `
ress any key ....\n");
><FONT color=#ff0000>函数名: hardresume </FONT>
><FONT color=#0000ff>/* This program will trap disk errors and prompt the user for action. */ $ N( o% u$ @5 i- s! g
><FONT color=#0000ff>#include <STDIO.H>
><FONT color=#0000ff>#define IGNORE 0 - \+ \# V/ o$ V) W ]3 L
><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) . n3 ?7 O6 J' W
><FONT color=#0000ff>cputs(msg); </FONT></P>
><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 */ 3 i9 n. B0 Q! R/ U/ p6 \
><FONT color=#0000ff>int handler(int errval,int ax,int bp,int si) - ~+ L" A! d6 Z3 R) D9 l# S
><FONT color=#0000ff>di= _DI;
><FONT color=#0000ff>if (ax < 0)
><FONT color=#0000ff>int main(void) - |+ _/ e* i* H9 B
ress any key ....\n"); ' s1 d) C6 ?" }: M5 G
><FONT color=#ff0000>函数名: highvideo </FONT>
><FONT color=#0000ff>#include <CONIO.H></FONT></P>
><FONT color=#0000ff>int main(void) 9 f5 C8 Q) r1 u| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |