align=center><FONT color=#0000ff size=3><B><FONT color=#cc0000>函数大全(m开头)</FONT></B></FONT></P>
align=left><FONT color=#ff0000>main()主函数; A% Q- _/ k9 m: F& W+ _
NULL) # X! U/ U5 g* m
><FONT color=#ff0000>函数名: matherr </FONT>
><FONT color=#0000ff>/* This is a user-defined matherr function that prevents
><FONT color=#0000ff>#include<MATH.H> </FONT></P>
><FONT color=#0000ff>int matherr(struct exception *a)
><FONT color=#ff0000>函数名: memccpy </FONT># Q& w8 O, K% N* @
><FONT color=#0000ff>#include <STRING.H>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>ptr = memccpy(dest, src, 'c', strlen(src)); </FONT></P>
><FONT color=#0000ff>if (ptr)
><FONT color=#ff0000>函数名: malloc</FONT>
><FONT color=#0000ff>#include <STDIO.H>; U( W' {' |% o0 W
ROCESS.H></FONT></P>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>/* allocate memory for string */ 2 R! e2 P: E3 b& x, c% \5 v, d
><FONT color=#0000ff>/* copy "Hello" into string */ - t% l& N: m9 H" _) D( S/ } G
><FONT color=#0000ff>/* display string */
><FONT color=#0000ff>/* free memory */ + B- @% U5 Y9 q8 l: ~# T
><FONT color=#0000ff>return 0;
><FONT color=#ff0000>函数名: memchr</FONT>
><FONT color=#0000ff>#include <STRING.H>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>strcpy(str, "This is a string"); * @) u# }1 p; z2 g0 w1 d4 t
><FONT color=#ff0000>函数名: memcpy </FONT>
><FONT color=#0000ff>#include <STDIO.H>, f* ?6 a( Z4 `& ]. X" U7 j
><FONT color=#ff0000>函数名: memicmp </FONT>2 R1 h8 D8 U. J+ f6 E& x1 |
><FONT color=#0000ff>#include <STDIO.H>- Y1 k. J2 ]0 u7 u9 Q
><FONT color=#0000ff>int main(void)
><FONT color=#ff0000>函数名: memmove </FONT>& N% J$ Y- l% I; t& ?) q7 A4 Q% a| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |