原型:extern float sin(float x); 用法:#include <math.h> 功能:計(jì)算x(弧度表示)的正弦值。 說(shuō)明:x的值域?yàn)閇-1.0,1.0]。 舉例: // sin.c #include <syslib.h> #include <math.h> main() { float x; ...
http://www.o2fo.com/cyykhsscsc/jxr1ap.html原型:extern float sinh(float x); 用法:#include <math.h> 功能:計(jì)算x(弧度表示)的雙曲正弦值。 說(shuō)明:sinh(x)=(e^x-e^(-x))/2。 舉例: // sinh.c #include <syslib.h> #include <math.h> main() { float x; ...
http://www.o2fo.com/cyykhsscsc/nms1aq.html原型:extern float sqrt(float x); 用法:#include <math.h> 功能:計(jì)算x的平方根。 說(shuō)明:x應(yīng)大于等于零。 舉例: // sqrt.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen ...
http://www.o2fo.com/cyykhsscsc/qoi1ar.html原型:extern float tan(float x); 用法:#include <math.h> 功能:計(jì)算x(弧度表示)的正切值。 說(shuō)明:返回x的正切值。 舉例: // tan.c #include <syslib.h> #include <math.h> main() { float x; clrsc...
http://www.o2fo.com/cyykhsscsc/cit1as.html原型:extern float tanh(float x); 用法:#include <math.h> 功能:求x的雙曲正切值 說(shuō)明:tanh(x)=(e^x-e^(-x))/(e^2+e^(-x)) 舉例: // tanh.c #include <syslib.h> #include <math.h> main() { float x; cl...
http://www.o2fo.com/cyykhsscsc/pzm1at.html原型:extern int kbhit(void); 用法:#include <stdio.h> 功能:檢測(cè)按鍵 說(shuō)明:檢測(cè)鍵盤是否有鍵按下。 如果有鍵按下,則返回對(duì)應(yīng)鍵值;否則返回零。 kbhit不等待鍵盤按鍵。無(wú)論有無(wú)按鍵都會(huì)立即返回。 舉例...
http://www.o2fo.com/cyykhsscsc/sut1au.html原型:extern char *itoa(int i); 用法:#include <stdlib.h> 功能:把整數(shù)i轉(zhuǎn)換成字符串 說(shuō)明:返回指向轉(zhuǎn)換后的字符串的指針 舉例: // itoa.c #include <syslib.h> #include <stdlib.h> main() { int i...
http://www.o2fo.com/cyykhsscsc/rbq1ay.html原型:extern void exit(int retval); 用法:#include <stdlib.h> 功能:結(jié)束程序 說(shuō)明:返回值將被忽略 舉例: // exit.c #include <syslib.h> #include <stdlib.h> main() { int i; clrscr(); ...
http://www.o2fo.com/cyykhsscsc/das1az.html原型:extern int bcmp(const void *s1, const void *s2, int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字節(jié)是否相等 說(shuō)明:如果s1=s2或n=0則返回零,否則返回非零值。bcmp不檢查NULL。 舉例: // bcmp.c #incl...
http://www.o2fo.com/cyykhsscsc/xoj1b0.html原型:extern void bcopy(const void *src, void *dest, int n); 用法:#include <string.h> 功能:將字符串src的前n個(gè)字節(jié)復(fù)制到dest中 說(shuō)明:bcopy不檢查字符串中的空字節(jié)NULL,函數(shù)沒(méi)有返回值。 舉例: // bcopy.c #include <sys...
http://www.o2fo.com/cyykhsscsc/eir1b1.html抱歉,暫時(shí)沒(méi)有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒(méi)有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒(méi)有相關(guān)的教程
w3cschool 建議您:
原型:extern float sin(float x); 用法:#include <math.h> 功能:計(jì)算x(弧度表示)的正弦值。 說(shuō)明:x的值域?yàn)閇-1.0,1.0]。 舉例: // sin.c #include <syslib.h> #include <math.h> main() { float x; ...
http://www.o2fo.com/cyykhsscsc/jxr1ap.html原型:extern float sinh(float x); 用法:#include <math.h> 功能:計(jì)算x(弧度表示)的雙曲正弦值。 說(shuō)明:sinh(x)=(e^x-e^(-x))/2。 舉例: // sinh.c #include <syslib.h> #include <math.h> main() { float x; ...
http://www.o2fo.com/cyykhsscsc/nms1aq.html原型:extern float sqrt(float x); 用法:#include <math.h> 功能:計(jì)算x的平方根。 說(shuō)明:x應(yīng)大于等于零。 舉例: // sqrt.c #include <syslib.h> #include <math.h> main() { clrscr(); // clear screen ...
http://www.o2fo.com/cyykhsscsc/qoi1ar.html原型:extern float tan(float x); 用法:#include <math.h> 功能:計(jì)算x(弧度表示)的正切值。 說(shuō)明:返回x的正切值。 舉例: // tan.c #include <syslib.h> #include <math.h> main() { float x; clrsc...
http://www.o2fo.com/cyykhsscsc/cit1as.html原型:extern float tanh(float x); 用法:#include <math.h> 功能:求x的雙曲正切值 說(shuō)明:tanh(x)=(e^x-e^(-x))/(e^2+e^(-x)) 舉例: // tanh.c #include <syslib.h> #include <math.h> main() { float x; cl...
http://www.o2fo.com/cyykhsscsc/pzm1at.html原型:extern int kbhit(void); 用法:#include <stdio.h> 功能:檢測(cè)按鍵 說(shuō)明:檢測(cè)鍵盤是否有鍵按下。 如果有鍵按下,則返回對(duì)應(yīng)鍵值;否則返回零。 kbhit不等待鍵盤按鍵。無(wú)論有無(wú)按鍵都會(huì)立即返回。 舉例...
http://www.o2fo.com/cyykhsscsc/sut1au.html原型:extern char *itoa(int i); 用法:#include <stdlib.h> 功能:把整數(shù)i轉(zhuǎn)換成字符串 說(shuō)明:返回指向轉(zhuǎn)換后的字符串的指針 舉例: // itoa.c #include <syslib.h> #include <stdlib.h> main() { int i...
http://www.o2fo.com/cyykhsscsc/rbq1ay.html原型:extern void exit(int retval); 用法:#include <stdlib.h> 功能:結(jié)束程序 說(shuō)明:返回值將被忽略 舉例: // exit.c #include <syslib.h> #include <stdlib.h> main() { int i; clrscr(); ...
http://www.o2fo.com/cyykhsscsc/das1az.html原型:extern int bcmp(const void *s1, const void *s2, int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字節(jié)是否相等 說(shuō)明:如果s1=s2或n=0則返回零,否則返回非零值。bcmp不檢查NULL。 舉例: // bcmp.c #incl...
http://www.o2fo.com/cyykhsscsc/xoj1b0.html原型:extern void bcopy(const void *src, void *dest, int n); 用法:#include <string.h> 功能:將字符串src的前n個(gè)字節(jié)復(fù)制到dest中 說(shuō)明:bcopy不檢查字符串中的空字節(jié)NULL,函數(shù)沒(méi)有返回值。 舉例: // bcopy.c #include <sys...
http://www.o2fo.com/cyykhsscsc/eir1b1.html抱歉,暫時(shí)沒(méi)有相關(guān)的文章
w3cschool 建議您: