Turbo C 2.0 º¯ÊýÖÐÎÄ˵Ã÷´óÈ«
Turbo C 2.0 º¯ÊýÖÐÎÄ˵Ã÷´óÈ«
·ÖÀຯÊý,ËùÔÚº¯Êý¿âΪctype.h
int isalpha(int ch) ÈôchÊÇ×Öĸ('A'-'Z','a'-'z')·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isalnum(int ch) ÈôchÊÇ×Öĸ('A'-'Z','a'-'z')»òÊý×Ö('0'-'9'),·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isascii(int ch) ÈôchÊÇ×Ö·û(ASCIIÂëÖеÄ0-127)·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int iscntrl(int ch) ÈôchÊÇ×÷·Ï×Ö·û(0x7F)»òÆÕͨ¿ØÖÆ×Ö·û(0x00-0x1F),·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isdigit(int ch) ÈôchÊÇÊý×Ö('0'-'9')·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isgraph(int ch) ÈôchÊÇ¿É´òÓ¡×Ö·û(²»º¬¿Õ¸ñ)(0x21-0x7E)·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int islower(int ch) ÈôchÊÇСд×Öĸ('a'-'z')·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isprint(int ch) ÈôchÊÇ¿É´òÓ¡×Ö·û(º¬¿Õ¸ñ)(0x20-0x7E)·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int ispunct(int ch) ÈôchÊDZêµã×Ö·û(0x00-0x1F)·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isspace(int ch) ÈôchÊÇ¿Õ¸ñ(' '),ˮƽÖƱí·û('\t'),»Ø³µ·û('\r'), ×ßÖ½»»ÐÐ('\f'),´¹Ö±ÖƱí·û('\v'),»»Ðзû('\n'), ·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isupper(int ch) ÈôchÊÇ´óд×Öĸ('A'-'Z')·µ»Ø·Ç0Öµ,·ñÔò·µ»Ø0
int isxdigit(int ch) ÈôchÊÇ16½øÖÆÊý('0'-'9','A'-'F','a'-'f')·µ»Ø·Ç0Öµ, ·ñÔò·µ»Ø0
int tolower(int ch) ÈôchÊÇ´óд×Öĸ('A'-'Z')·µ»ØÏàÓ¦µÄСд×Öĸ('a'-'z')
int toupper(int ch) ÈôchÊÇСд×Öĸ('a'-'z')·µ»ØÏàÓ¦µÄ´óд×Öĸ('A'-'Z')
Êýѧº¯Êý,ËùÔÚº¯Êý¿âΪmath.h¡¢stdlib.h¡¢string.h¡¢float.h
int abs(int i) ·µ»ØÕûÐͲÎÊýiµÄ¾ø¶ÔÖµ
double cabs(struct complex znum) ·µ»Ø¸´ÊýznumµÄ¾ø¶ÔÖµ
double fabs(double x) ·µ»ØË«¾«¶È²ÎÊýxµÄ¾ø¶ÔÖµ
long labs(long n) ·µ»Ø³¤ÕûÐͲÎÊýnµÄ¾ø¶ÔÖµ
double exp(double x) ·µ»ØÖ¸Êýº¯ÊýexµÄÖµ
double frexp(double value,int *eptr) ·µ»Øvalue=x*2nÖÐxµÄÖµ,n´æÖüÔÚeptrÖÐ
double ldexp(double value,int exp); ·µ»Øvalue*2expµÄÖµ
double log(double x) ·µ»ØlogexµÄÖµ
double log10(double x) ·µ»Ølog10xµÄÖµ
double pow(double x,double y) ·µ»ØxyµÄÖµ
double pow10(int p) ·µ»Ø10pµÄÖµ
double sqrt(double x) ·µ»ØxµÄ¿ª·½
double acos(double x) ·µ»ØxµÄ·´ÓàÏÒcos-1(x)Öµ,xΪ»¡¶È
double asin(double x) ·µ»ØxµÄ·´ÕýÏÒsin-1(x)Öµ,xΪ»¡¶È
double atan(double x) ·µ»ØxµÄ·´ÕýÇÐtan-1(x)Öµ,xΪ»¡¶È
double atan2(double y,double x) ·µ»Øy/xµÄ·´ÕýÇÐtan-1(x)Öµ,yµÄxΪ»¡¶È
d
Ïà¹ØÎĵµ£º
±êÇ©£º
it
·ÖÀࣺC/C++
ÎҵĻØÒäºÍÓÐȤµÄ¹ÊÊ --- C/C++ʥսƪ
Àîά
------------------------------------------------------------------------------------------
ÉùÃ÷
ÒÔϵÄÕâƪÎÄÕÂÄÚÈÝÊÇÎÒ¸öÈ˵ĻØÒäÒÔ¼°¿´·¨£¬Ã»ÓÐÈκÎÌرðµÄÆ«¼û£¬Ðí¶àµÄÊÂÇéÊǸù¾ÝÎҵļÇÒäÒÔ¼°´ÓÐí¶àÈ˵ÄËß˵ÖеÃÖªµÄ£¬Ò²ÐíÄÚÈݲ»ÊÇ°Ù·Ö ......
ODBCºÍIDAPIÖ®Õù
µ±MicrosoftÔÚÖ𽥵Ļ÷°ÜËûµÄ¾ºÕù¶ÔÊÖ£¬²¢ÇÒÓµÓÐÁ˴󲿷ÝPCÊý¾Ý¿âÊг¡Ö®ºó£¬±ãÂýÂýµÄÁ˽⵽ÕÆÎÕ±ê×¼µÄÖØÒªÐÔ¡£´ËÍâMicrosoftΪÁËͳһ¸÷Ó¦ÓóÌÐòÖ®¼ä²»Í¬×ÊÁϵĴæÈ¡£¬Òò´Ë¿ªÊ¼Öƶ¨´æÈ¡×ÊÁϵÄͳһ±ê×¼-ODBC¡£Microsoft¸ü´óµÄÄ¿µÄÊÇΪÁË×¼±¸ºÍÃé×¼ÏÂÒ»³¡µÄ´óÕ½£¬ÄǾÍÊÇPCÉϵÄRDBMS²úÆ·¡£µ±È»Microsoft Ҫһͳ ......
extern cµÄ×÷Óá¾×ª¡¿
2009-12-18 13:10
1.ÒýÑÔ
C++ÓïÑԵĴ´½¨³õÖÔÊÇ“a better C”£¬µ«ÊÇÕâ²¢²»Òâζ×ÅC++ÖÐÀàËÆCÓïÑÔµÄÈ«¾Ö±äÁ¿ºÍº¯ÊýËù²ÉÓõıàÒëºÍÁ¬½Ó·½Ê½ÓëCÓïÑÔÍêÈ«Ïàͬ¡£×÷ΪһÖÖÓûÓëC¼æÈݵÄÓïÑÔ£¬C++±£ÁôÁËÒ»²¿·Ö¹ý³Ì ʽÓïÑÔµÄÌص㣨±»ÊÀÈ˳ÆΪ“²»³¹µ×µØÃæÏò¶ÔÏ󔣩£¬Òò¶øËü¿ÉÒÔ¶¨Òå²»ÊôÓ ......
C/C++ ³£¼ûÎóÇø
1. C++ËäÈ»Ö÷ÒªÊÇÒÔCµÄ»ù´¡·¢Õ¹ÆðÀ´µÄÒ»ÃÅÐÂÓïÑÔ£¬µ«Ëý²»ÊÇCµÄÌæ´úÆ·£¬²»ÊÇCµÄÉý¼¶£¬C++ºÍCÊÇÐֵܹØϵ¡£Ã»ÓÐ˱ÈËÏȽøµÄ˵·¨£¬¸üÖØÒªµÄÒ»µãÊÇCºÍC++¸÷×Եıê׼ίԱ»áÊǶÀÁ¢µÄ£¬×îеÄC++±ê×¼ÊÇC++98£¬×îеÄC±ê×¼ÊÇC99¡£Òò´ËҲûÓÐÏÈѧCÔÙ˵C++µÄ˵·¨£¬Ò²²»ÔÙ£¨×¢ÒâÕâ¸ö"²»ÔÙ"£©ÓÐC++Óï·¨ ......
¹¹½¨»ù±¾µÄLinux C ±à³Ì»·¾³ ÊÕ²Ø
±¾ÎÄ»ùÓÚdebian-40r0(ÄÚºË2.6.18)½éÉÜÒ»ÏÂÈçºÎÔÚÒ»¸ö±ê׼ϵͳÖй¹½¨Linux CµÄ»ù±¾±à³Ì¿ª·¢»·¾³¡£
Ò»¸öÍêÕûµÄ¿ª·¢»·¾³Ö÷Òª°üÀ¨Ëĸö²¿·Ö£º±ê×¼C¿â¡¢Í·Îļþ¡¢¹¤¾ßÁ´¡¢±à¼Æ÷¡¢°ïÖúÎĵµ£¬ÏÂÃæÒÀ´Î½éÉÜ¡£
±ê×¼C¿âglibc
glibcÊÇgnu·¢²¼µÄlibc¿â£¬¼´cÔËÐп⡣glibcÊÇlinuxϵͳÖÐÄÚºËÖ ......