内容简介
1.2.2 Turbo C 2.0基本配置要求
1.2.3 Turbo C 2.0集成开发环境的使用
第1章 概述
1.1 C语言简介
1.2 Turbo C 2.0简介
1.2.1 概述
1.3 GCC简介
1.4.2 常量与变量
1.4.1 数据类型
1.4 C语法简介
1.4.3 运算符和表达式
1.4.4 语句
1.4.5 数组
1.4.7 函数
1.4.6 指针
1.4.8 结构体与共用体
1.5 如何使用本书
2.1.2 div函数
2.1.1 ceil函数
第2章 数学函数
2.1 常用代数函数
2.1.4 fmod函数
2.1.3 floor函数
2.1.7 min函数
2.1.6 max函数
2.1.5 ldiv函数
2.1.9 sqrt函数
2.1.8 poly函数
2.2.2 cabs函数
2.2.1 abs函数
2.2 绝对值函数
2.3.1 exp函数
2.3 指数与对数运算函数
2.2.3 fabs函数
2.2.4 labs函数
2.3.3 log,logl函数
2.3.2 ldexp,ldexpl函数
2.3.5 pow函数
2.3.4 log10,log101函数
2.4.2 asin,asinl函数
2.4.1 acos,acosl函数
2.3.6 pow10函数
2.4 三角函数
2.4.4 atan2,atan21函数
2.4.3 atan函数
2.4.7 hypot函数
2.4.6 cosh函数
2.4.5 cos函数
2.4.9 sinh函数
2.4.8 sin函数
2.5.1 _clear87函数
2.5 浮点数函数
2.4.10 tan,tanl函数
2.4.11 tanh,tanhl函数
2.5.3 frexp函数
2.5.2 _status87函数
2.6.1 drand48函数
2.6 随机数函数
2.5.4 modf,modfl函数
2.6.3 jrand48函数
2.6.2 erand48函数
2.6.5 lrand48函数
2.6.4 lcong48函数
2.6.7 nrand48函数
2.6.6 mrand48函数
2.6.10 randomize函数
2.6.9 random函数
2.6.8 rand函数
2.6.12 srand函数
2.6.11 seed48函数
2.6.14 srandom函数
2.6.13 srand48函数
3.1.2 strcat函数
3.1.1 stpcpy函数
第3章 字符串函数
3.1 字符串操作函数
3.1.4 strcmp函数
3.1.3 strchr函数
3.1.5 strcmpi函数
3.1.7 strcspn函数
3.1.6 strcpy函数
3.1.9 stricmp函数
3.1.8 strdup函数
3.1.11 stmcat函数
3.1.10 strlen函数
3.1.13 stmcmpi函数
3.1.12 stmcmp函数
3.1.15 stmicmp函数
3.1.14 stmcpy函数
3.1.17 strpbrk函数
3.1.16 stmset函数
3.1.18 strrchr函数
3.1.21 strspn函数
3.1.20 strset函数
3.1.19 strrev函数
3.1.23 strtok函数
3.1.22 strstr函数
3.1.25 ungetc函数
3.1.24 swab函数
3.1.26 ungetch函数
3.2.2 isalpha函数
3.2.1 isalnum函数
3.2 类型判别函数
3.2.4 iscntrl函数
3.2.3 isascii函数
3.2.6 isgraph函数
3.2.5 isdigit函数
3.2.7 islower函数
3.2.9 ispunct函数
3.2.8 isprint函数
3.2.11 isupper函数
3.2.10 isspace函数
3.2.12 isxdigit函数
3.3.3 atol函数
3.3.2 atoi函数
3.3 类型转换函数
3.3.1 atof函数
3.3.5 fcvt函数
3.3.4 ecvt函数
3.3.6 gcvt函数
3.3.8 ltoa函数
3.3.7 itoa函数
3.3.10 mbtowc函数
3.3.9 mbstowcs函数
3.3.11 strlwr函数
3.3.13 strtol函数
3.3.12 strtod函数
3.3.15 strupr函数
3.3.14 strtoul函数
3.3.17 tolower函数
3.3.16 toascii函数
3.3.19 ultoa函数
3.3.18 toupper函数
3.3.21 wctomb函数
3.3.20 wcstombs函数
4.1.1 _creat,creat函数
4.1 初级输入/输出函数
第4章 输入/输出函数
4.1.2 close函数
4.1.4 dup2函数
4.1.3 dup函数
4.1.5 flock函数
4.1.6 fsync函数
4.1.7 eof函数
4.1.8 lseek函数
4.1.10 open函数
4.1.9 mktemp函数
4.1.11 read函数
4.1.12 setmode函数
4.1.13 sopen函数
4.1.14 sync函数
4.1.15 tell函数
4.1.16 write函数
4.2.1 fclose函数
4.2 标准输入/输出函数
4.2.3 fdopen函数
4.2.2 fcloseall函数
4.2.4 feof函数
4.2.5 fflush函数
4.2.7 fgetchar函数
4.2.6 fgetc函数
4.2.8 fgetpos函数
4.2.10 fileno函数
4.2.9 fgets函数
4.2.11 flushall函数
4.2.12 fopen函数
4.2.14 fputchar函数
4.2.13 fputc函数
4.2.15 fread函数
4.2.17 fwrite函数
4.2.16 fseek函数
4.2.18 getc函数
4.2.20 gets函数
4.2.19 getchar函数
4.2.22 putc函数
4.2.21 getw函数
4.2.24 putchar函数
4.2.23 putch函数
4.2.26 putw函数
4.2.25 puts函数
4.2.27 rewind函数
4.2.29 setvbuf函数
4.2.28 setbuf函数
4.2.30 tmpfile函数
4.3 格式化输入/输出函数
4.3.2 cscanf函数
4.3.1 cprintf函数
4.3.3 fprintf函数
4.3.4 fscanf函数
4.3.5 fsetpos函数
4.3.6 fstat函数
4.3.7 ftell函数
4.3.9 scanf函数
4.3.8 printf函数
4.3.10 sprintf函数
4.3.11 sscanf函数
4.3.12 vfprintf函数
4.3.13 vfscanf函数
4.3.14 vprintf函数
4.3.15 vscanf函数
4.3.17 vsscanf函数
4.3.16 vsprintf函数
4.4.1 cgets函数
4.4 键盘专用函数
4.4.3 getche函数
4.4.2 getch函数
4.4.5 kbhit函数
4.4.4 getpass函数
4.4.6 ungetch函数
4.5.2 clreol函数
4.5.1 _setcursortype函数
4.5 屏幕专用函数
4.5.4 cputs函数
4.5.3 clrscr函数
4.5.5 delline函数
4.5.6 gettext函数
4.5.7 gettextinfo函数
4.5.8 gotoxy函数
4.5.10 insline函数
4.5.9 highvideo函数
4.5.12 movetext函数
4.5.11 lowvideo函数
4.5.13 normvideo函数
4.5.15 puttext函数
4.5.14 putch函数
4.5.16 textattr函数
4.5.18 textcolor函数
4.5.17 textbackground函数
4.5.19 textmode函数
4.5.21 window函数
4.5.20 wherex,wherey函数
4.6.2 inport函数
4.6.1 inp函数
4.6 端口输入/输出函数
4.6.4 inpw函数
4.6.3 inportb函数
4.6.6 outport函数
4.6.5 outp函数
4.6.8 outpw函数
4.6.7 outportb函数
5.1.2 allocmem函数
5.1.1 alloca函数
第5章 内存相关函数
5.1 内存管理函数
5.1.4 calloc函数
5.1.3 brk函数
5.1.6 farcalloc函数
5.1.5 coreleft函数
5.1.8 farfree函数
5.1.7 farcoreleft函数
5.1.10 farrealloc函数
5.1.9 farmalloc函数
5.1.12 freemem函数
5.1.11 free函数
5.1.14 malloc函数
5.1.13 getpagesize函数
5.1.15 mmap函数
5.1.17 realloc函数
5.1.16 munmap函数
5.1.19 setblock函数
5.1.18 sbrk函数
5.2.2 farheapcheckfree函数
5.2.1 farheapcheck函数
5.2 内存操作函数
5.2.3 farheapchecknode函数
5.2.4 farheapfillfree函数
5.2.5 farheapwalk函数
5.2.8 heapcheck函数
5.2.7 FP_SEG函数
5.2.6 FP_OFF函数
5.2.9 heapcheckfree函数
5.2.10 heapchecknode函数
5.2.11 heapfillfree函数
5.2.13 memccpy函数
5.2.12 heapwalk函数
5.2.15 memcmp函数
5.2.14 memchr函数
5.2.16 memcpy函数
5.2.18 memmove函数
5.2.17 memicmp函数
5.2.20 MK_FP函数
5.2.19 memset函数
5.2.22 movmem函数
5.2.21 movedata函数
5.2.24 poke,pokeb函数
5.2.23 peek,peekb函数
5.2.26 swab函数
5.2.25 setmem函数
6.1.2 abswrite函数
6.1.1 absread函数
第6章 磁盘、目录和文件函数
6.1 磁盘函数
6.1.4 setdta函数
6.1.3 getdta函数
6.2.1 _dos_findfirst函数
6.2 目录函数
6.2.2 _dos_findnext函数
6.2.3 _makepath函数
6.2.5 chdir函数
6.2.4 _splitpath函数
6.2.7 closedir函数
6.2.6 chroot函数
6.2.8 fchdir函数
6.2.9 findfirst函数
6.2.11 fnmerge函数
6.2.10 findnext函数
6.2.12 fnsplit函数
6.2.14 get_current_dir_name函数
6.2.13 ftw函数
6.2.16 getcwd函数
6.2.15 getcurdir函数
6.2.18 getwd函数
6.2.17 getdisk函数
6.2.20 mktemp函数
6.2.19 mkdir函数
6.2.22 opendir函数
6.2.21 nftw函数
6.2.23 readdir函数
6.2.25 rmdir函数
6.2.24 rewinddir函数
6.2.26 scandir函数
6.2.28 seekdir函数
6.2.27 searchpath函数
6.2.30 telldir函数
6.2.29 setdisk函数
6.2.31 unlink函数
6.3.1 access函数
6.3 文件函数
6.2.32 unlock函数
6.3.2 chmod函数
6.3.4 chsize函数
6.3.3 chown函数
6.3.5 creatnew函数
6.3.7 fchmod函数
6.3.6 creattemp函数
6.3.9 fstat函数
6.3.8 filelength函数
6.3.10 ftruncate函数
6.3.11 getftime函数
6.3.12 lchown函数
6.3 13 link函数
6.3.15 locking函数
6.3.14 lock函数
6.3.16 lstat函数
6.3.17 readlink函数
6.3.19 rename函数
6.3.18 remove函数
6.3.20 stat函数
6.3.22 tempnam函数
6.3.21 symlink函数
6.3.24 umask函数
6.3.23 tmpnam函数
6.3.25 unlink函数
6.3.27 utimes函数
6.3.26 utime函数
7.1.1 _graphfreemem函数
7 1 设备设置函数
第7章 图形函数
7.1.2 _graphgetmem函数
7.1.4 clearviewport函数
7.1.3 cleardevice函数
7.1.6 detectgraph函数
7.1.5 closegraph函数
7.1.7 getaspectratio函数
7.1.9 getdrivemame函数
7.1.8 getdefaultpalette函数
7.1.10 getfillpattem函数
7.1.12 getmodename函数
7.1.11 getgraphmode函数
7.1.14 getpalette函数
7.1.13 getmoderange函数
7.1.15 getviewsettings函数
7.1.16 graphdefaults函数
7.1.18 graphresult函数
7.1.17 grapherrormsg函数
7.1.19 initgraph函数
7.1.20 installuserdriver函数
7.1.21 installuserfont函数
7.1.22 registerbgidriver函数
7.1.24 setactivepage函数
7.1.23 restorecrtmode函数
7.1.25 setallpalette函数
7.1.26 setaspectratio函数
7.1.27 setfillpattem函数
7.1.29 setgraphmode函数
7.1.28 setgraphbufsize函数
7.1.30 setpalette函数
7.1.31 setrgbpalette函数
7.1.33 setvisualpage函数
7.1.32 setviewport函数
7.2.2 getcolor函数
7.2.1 getbkcolor函数
7.2 属性配置函数
7.2.3 getfillsettings函数
7.2.4 getlinesettings函数
7.2.6 setbkcolor函数
7.2.5 getmaxcolor函数
7.2.8 setfillstyle函数
7.2.7 setcolor函数
7.2.10 setwritemode函数
7.2.9 setlinestyle函数
7.3.1 arc函数
7.3 图形显示函数
7.3.3 bar3d函数
7.3.2 bar函数
7.3.5 drawpoly函数
7.3.4 circle函数
7.3.7 fillellipse函数
7.3.6 ellipse函数
7.3.9 floodfill函数
7.3.8 fillpoly函数
7.3.10 getarccoords函数
7.3.12 getmaxx函数
7.3.11 getimage函数
7.3.14 getpixel函数
7.3.13 getmaxy函数
7.3.15 gettextsettings函数
7.3.17 gety函数
7.3.16 getx函数
7.3.19 line函数
7.3.18 imagesize函数
7.3.21 lineto函数
7.3.20 linerel函数
7.3.23 moveto函数
7.3.22 moverel函数
7.3.25 outttextxy函数
7.3.24 outtext函数
7.3.26 pieslice函数
7.3.27 putimage函数
7.3.28 putpixel函数
7.3.30 sector函数
7.3.29 rectangle函数
7.3.32 settextstyle函数
7.3.31 settextjustify函数
7.3.33 setusercharsize函数
8.1.1 _bios_disk函数
8.1 BIOS调用函数
第8章 系统调用函数
8.1.3 _bios_keybrd函数
8.1.2 _bios_equiplist函数
8.1.4 _bios_memsize函数
8.1.6 _bios_serialcom函数
8.1.5 _bios_printer函数
8.1.8 bioscom函数
8.1.7 _bios_timeofday函数
8.1.9 biosdisk函数
8.1.11 bioskey函数
8.1.10 biosequip函数
8.1.12 biosmemory函数
8.1.14 biostime函数
8.1.13 biosprint函数
8.2.1 bdos函数
8.2 DOS调用函数
8.2.3 ctrlbrk函数
8.2.2 bdosptr函数
8.2.5 enable函数
8.2.4 disable函数
8.2.7 getcbrk函数
8.2.6 geninterrupt函数
8.2.9 getdfree函数
8.2.8 getdate函数
8.2.10 getfat函数
8.2.12 getpsp函数
8.2.11 getfatd函数
8.2.14 getvect函数
8.2.13 gettime函数
8.2.16 int86函数
8.2.15 getverify函数
8.2.17 int86x函数
8.2.18 intdos函数
8.2.19 intdosx函数
8.2.21 ioctl函数
8.2.20 intr函数
8.2.22 isatty函数
8.2.24 segread函数
8.2.23 keep函数
8.2.26 setvect函数
8.2.25 setcbrk函数
8.2.28 sound,nosound,delay函数
8.2.27 setverify函数
8.3.1 _c_exit函数
8.3 程序控制函数
8.3.3 abort函数
8.3.2 _exit函数
8.3.5 atexit函数
8.3.4 assert函数
8.3.7 execv,execve,execvp,execvpe函数
8.3.6 execl,execle,execlp,execlpe函数
8.3.8 exit函数
8.3.10 longjmp函数
8.3.9 getpid函数
8.3.11 raise函数
8.3.12 setjmp函数
8.3.14 sleep函数
8.3.13 signal函数
8.3.15 spawnl,spawnle,spawnlp,spawnlpe函数
8.3.16 spawnv,spawnve,spawnvp,spawnlve函数
8.3.17 system函数
8.4.2 putenv函数
8.4.1 getenv函数
8.4 环境变量函数
9.1.2 clock函数
9.1.1 asctime函数
第9章 其他函数
9.1 日期/时间函数
9.1.4 difftime函数
9.1.3 ctime函数
9.1.5 dostounix函数
9.1.7 mktime函数
9.1.6 localtime函数
9.1.8 setdate函数
9.1.10 stime函数
9.1.9 settime函数
9.1.12 tzset函数
9.1.11 time函数
9.2.1 bsearch函数
9.2 数据结构函数
9.1.13 unixtodos函数
9.2.2 lfind函数
9.2.3 lsearch函数
9.2.5 hdestory函数
9.2.4 hcreate函数
9.2.6 hsearch函数
9.2.7 insque函数
9.2.9 remque函数
9.2.8 qsort函数
9.2.10 tdelete函数
9.2.11 tfind函数
9.2.12 tsearch函数
9.2.13 twalk函数
9.3.2 clearerr函数
9.3.1 assert函数
9.3 错误处理函数
9.3.4 ferror函数
9.3.3 dosexterr函数
9.3.5 harderr函数
9.3.7 matherr函数
9.3.6 hardresume函数
9.4 其他常用函数
9.3.9 strerror函数
9.3.8 perror函数
9.4.2 getopt函数
9.4.1 contry函数
9.4.3 select函数
9.4.4 ttyname函数
10.1.2 getenv函数
10.1.1 closelog函数
第10章 UNIX环境专用函数
10.1 系统管理函数
10.1.4 openlog函数
10.1.3 gethostname函数
10.1.6 setenv函数
10.1.5 putenv函数
10.1.8 syslog函数
10.1.7 sethostname函数
10.2 用户和组管理函数
10.1.9 unsetenv函数
10.2.2 endgrent函数
10.2.1 cuserid函数
10.2.5 fgetgrent函数
10.2.4 endutent函数
10.2.3 endpwent函数
10.2.6 fgetpwent函数
10.2.8 geteuid函数
10.2.7 getegid函数
10.2.10 getgrent函数
10.2.9 getgid函数
10.2.12 getgmam函数
10.2.11 getgrgid函数
10.2.13 getgroups函数
10.2.16 getpwent函数
10.2.15 getpw函数
10.2.14 getlogin函数
10.2.17 getpwnam函数
10.2.19 getuid函数
10.2.18 getpwuid函数
10.2.20 getutent函数
10.2.21 getutid函数
10.2.22 getutline函数
10.2.23 initgroups函数
10.2.25 pututline函数
10.2.24 logwtmp函数
10.2.27 seteuid函数
10.2.26 setegid函数
10.2.30 setgid函数
10.2.29 setfsuid函数
10.2.28 setfsgid函数
10.2.32 setgroups函数
10.2.31 setgrent函数
10.2.33 setpwent函数
10.2.35 setreuid函数
10.2.34 setregid函数
10.2.37 setutent函数
10.2.36 setuid函数
10.2.38 updwtmp函数
10.3 管道操作函数
10.2.39 utmpname函数
10.3.2 pclose函数
10.3.1 mkfifo函数
10.3.3 pipe函数
10.4.1 fork函数
10.4 进程控制函数
10.3.4 popen函数
10.4.3 getpgrp函数
10.4.2 getpgid函数
10.4.6 getpriority函数
10.4.5 getppid函数
10.4.4 getpid函数
10.4.8 on_exit函数
10.4.7 nice函数
10.4.10 setpgrp函数
10.4.9 setpgid函数
10.4.12 wait函数
10.4 11 setpriority函数
10.5 进程通信函数
10.4.13 waitpid函数
10.5.2 msgctl函数
10.5.1 ftok函数
10.5.3 msgget函数
10.5.4 msgrcv函数
10.5.5 msgsnd函数
10.5.6 semctl函数
10.5.7 semget函数
10.5.8 semop函数
10.5.9 shmat函数
10.5.10 shmctl函数
10.5.11 shmdt函数
10.6 信号函数
10.5.12 shmget函数
10.6.2 kill函数
10.6.1 alarm函数
10.6.4 psignal函数
10.6.3 pause函数
10.6.6 sigaction函数
10.6.5 raise函数
10.6.8 sigdelset函数
10.6.7 sigaddset函数
10.6.10 sigfillset函数
10.6.9 sigemptyset函数
10.6.12 signal函数
10.6.11 sigismember函数
10.6.14 sigpending函数
10.6.13 sigpause函数
10.6.16 sigsuspend函数
10.6.15 sigprocmask函数
10.7 网络相关函数
10.7.1 accept函数
10.7.4 endprotoent函数
10.7.3 connect函数
10.7.2 bind函数
10.7.7 gethostbyname函数
10.7.6 gethostbyaddr函数
10.7.5 endservent函数
10.7.9 getprotobynumber函数
10.7.8 getprotobyname函数
10.7.11 getservbyname函数
10.7.10 getprotoent函数
10.7.13 getservent函数
10.7.12 getservbyport函数
10.7.15 herror函数
10.7.14 getsockopt函数
10.7.19 inet_addr函数
10.7.18 htons函数
10.7.16 hstrerror函数
10.7.17 htonl函数
10.7.23 ntohl函数
10.7.22 listen函数
10.7.20 inet_aton函数
10.7.21 inet_ntoa函数
10.7.26 recvfrom函数
10.7.25 recv函数
10.7.24 ntohs函数
10.7.27 recvmsg函数
10.7.30 sendto函数
10.7.29 sendmsg函数
10.7.28 send函数
10.7.34 shutdown函数
10.7.33 setsockopt函数
10.7.31 setprotoent函数
10.7.32 setservent函数
10.8.1 regcomp函数
10.8 正则表达式函数
10.7.35 socket函数
10.8.2 regerror函数
10.8.4 regfree函数
10.8.3 regexec函数
10.9.2 dlerror函数
10.9.1 dlclose函数
10.9 动态函数
10.9.4 dlsym函数
10.9.3 dlopen函数
A.2 C语言数据类型
A.1 C语言关键字
附录