align=center><FONT color=#0000ff size=3><B><FONT color=#cc0000>函数大全(g开头)</FONT></B></FONT></P>3 t" z, _7 H6 D
><FONT color=#ff0000>函数名: gcvt </FONT>7 \. o3 W: O( n; H
><FONT color=#0000ff>#include <STDLIB.H>7 T4 D* }* X. e" U& Q
><FONT color=#0000ff>int main(void) e( ~( U, }" h; |3 _, ]0 v2 {6 g
><FONT color=#0000ff>/* a regular number */ + n" R8 }& ]. j
><FONT color=#0000ff>/* a negative number */
><FONT color=#0000ff>/* scientific notation */ * X7 E4 f& D1 v6 \3 D
><FONT color=#0000ff>return(0); / z4 F& P9 r8 n
><FONT color=#ff0000>函数名: geninterrupt </FONT> P/ l, [, C* P
><FONT color=#0000ff>#include <CONIO.H>8 c, P$ c, G/ @& V+ a
><FONT color=#0000ff>/* function prototype */ + C/ o4 {) z" ]) P0 K5 ]7 O$ Y/ \
><FONT color=#0000ff>int main(void) ! r" ^1 B$ E s4 Q- }3 |
><FONT color=#0000ff>/* " _8 T7 I6 u/ e7 U% I/ @' h
><FONT color=#0000ff>void writechar(char ch)
><FONT color=#ff0000>函数名: getarccoords </FONT>2 B. @$ R% z( Y6 [) k
><FONT color=#0000ff>#include <GRAPHICS.H>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>/* initialize graphics and local variables */
><FONT color=#0000ff>/* read result of initialization */ % v/ A9 {3 \$ _0 H, T6 T, \
ress any key to halt:");
><FONT color=#0000ff>midx = getmaxx() / 2;
><FONT color=#0000ff>/* draw arc and get coordinates */
><FONT color=#0000ff>/* convert arc information into strings */ 7 ?4 I' C4 H; a6 ]
><FONT color=#0000ff>/* output the arc information */
><FONT color=#0000ff>/* clean up */ 0 n$ ?+ L. Q# Z2 K: _
><FONT color=#ff0000>函数名: getaspectratio </FONT>5 ^5 n3 _+ b$ X' ^
><FONT color=#0000ff>#include <GRAPHICS.H>
><FONT color=#0000ff>int main(void)
><FONT color=#0000ff>/* initialize graphics and local variables */ 5 R7 H# s }. P, S4 [
><FONT color=#0000ff>/* read result of initialization */ $ K; P! Y1 A$ y" Z d$ L| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |