align=center><FONT color=#0000ff size=3><B><FONT color=#cc0000>函数大全(m开头)</FONT></B></FONT></P>
align=left><FONT color=#ff0000>main()主函数
NULL) # f) \0 F: i* B+ B5 l7 l
><FONT color=#ff0000>函数名: matherr </FONT>
><FONT color=#0000ff>/* This is a user-defined matherr function that prevents . g9 M: V6 _! @9 w7 j3 h C: C* Z1 M( |
><FONT color=#0000ff>#include<MATH.H> </FONT></P>0 K+ D! H/ V% g8 x
><FONT color=#0000ff>int matherr(struct exception *a) 7 m1 J% P' _! ]( k& t* J% H
><FONT color=#ff0000>函数名: memccpy </FONT>
><FONT color=#0000ff>#include <STRING.H>
><FONT color=#0000ff>int main(void) $ g/ w5 m* J# P) |3 k
><FONT color=#0000ff>ptr = memccpy(dest, src, 'c', strlen(src)); </FONT></P>& V! T4 M, H5 p, G, v
><FONT color=#0000ff>if (ptr) 1 o/ J8 }8 \. r* A( _; F
><FONT color=#ff0000>函数名: malloc</FONT>
><FONT color=#0000ff>#include <STDIO.H>- a; T; Y7 c+ _. \* r" ^# t
ROCESS.H></FONT></P>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>/* allocate memory for string */ + J y# `1 m, E- e
><FONT color=#0000ff>/* copy "Hello" into string */ $ g5 P7 l+ d2 R% P
><FONT color=#0000ff>/* display string */ 2 X. S8 d9 V/ `
><FONT color=#0000ff>/* free memory */
><FONT color=#0000ff>return 0;
><FONT color=#ff0000>函数名: memchr</FONT> * o, W- ~) r8 }6 J+ M8 q
><FONT color=#0000ff>#include <STRING.H>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>strcpy(str, "This is a string"); 3 z) P- A7 ?; b' e5 V
><FONT color=#ff0000>函数名: memcpy </FONT>
><FONT color=#0000ff>#include <STDIO.H>* u% y- f/ X' O/ F2 y' v
><FONT color=#ff0000>函数名: memicmp </FONT>; {) E! M: V1 S `; j
><FONT color=#0000ff>#include <STDIO.H>
><FONT color=#0000ff>int main(void) 2 M( `" l3 R7 A4 B, h0 F( t
><FONT color=#ff0000>函数名: memmove </FONT>. D- d6 M4 ~" \# ]* t) t2 p+ Z| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |