图书介绍

C++函数实用手册PDF|Epub|txt|kindle电子书版本网盘下载

C++函数实用手册
  • 张曜等编著 著
  • 出版社: 北京:冶金工业出版社
  • ISBN:7502432450
  • 出版时间:2003
  • 标注页数:470页
  • 文件大小:110MB
  • 文件页数:487页
  • 主题词:C语言-程序设计

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快]温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页直链下载[便捷但速度慢]  [在线试读本书]   [在线获取解压码]

下载说明

C++函数实用手册PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

第1章 简介1

1.1 C语言的优点1

1.2 C++概述1

1.2.1 C++的历史1

1.2.2 C++的优点1

1.2.3 C与C++的区别1

1.2.4 C++的设计目标1

1.2.5 C++的设计原则2

1.3 本书阅读范例2

第2章 字符与数学计算函数4

2.1 分类函数4

2.1.1 isalnum4

2.1.2 isalpha4

2.1.3 isascii5

2.1.4 iscntrl5

2.1.5 isdigit6

2.1.6 isgraph7

2.1.7 islower7

2.1.8 isprint8

2.1.9 ispunct8

2.1.10 isspace9

2.1.11 isupper9

2.1.12 isxdigit10

2.2 类型转换函数11

2.2.1 atof11

2.2.2 atoi11

2.2.3 atol12

2.2.4 ecvt12

2.2.5 fcvt13

2.2.6 gcvt13

2.2.7 itoa14

2.2.8 ltoa14

2.2.9 strtod15

2.2.10 strtol16

2.2.11 strtoul16

2.2.12 toascii17

2.2.13 tolower17

2.2.14 toupper18

2.2.15 ultoa18

2.2.16 _strdate19

2.2.17 _strtime19

2.2.18 _strtold20

2.2.19 _tolower20

2.2.20 _toupper21

2.3 数学函数21

2.3.1 abs21

2.3.2 acos22

2.3.3 acosl22

2.3.4 arg23

2.3.5 asin23

2.3.6 asinl24

2.3.7 atan24

2.3.8 atanl25

2.3.9 atan225

2.3.10 atan2125

2.3.11 bcd26

2.3.12 ceil26

2.3.13 ceill27

2.3.14 complex27

2.3.15 conj28

2.3.16 cos28

2.3.17 cosl29

2.3.18 cosh29

2.3.19 coshl29

2.3.20 div30

2.3.21 exp30

2.3.22 expl31

2.3.23 fabs31

2.3.24 fabsl32

2.3.25 floor,floorl32

2.3.26 fmod,fmodl33

2.3.27 frexp,frexpl33

2.3.28 hypot,hypotl34

2.3.29 imag34

2.3.30 labs35

2.3.31 ldexp,ldexpl35

2.3.32 ldiv36

2.3.33 log,logl36

2.3.34 logl0,logl0l37

2.3.35 matherr38

2.3.36 modf,modfl38

2.3.37 norm39

2.3.38 polar39

2.3.39 poly,polyl40

2.3.40 pow,powl40

2.3.41 powl0,powl0l41

2.3.42 rand42

2.3.43 random42

2.3.44 randomize42

2.3.45 real43

2.3.46 sin,sinl43

2.3.47 sinh,sinhl44

2.3.48 sqrt,sqrtl45

2.3.49 srand45

2.3.50 tan,tanl46

2.3.51 tanh,tanhl46

2.3.52 _clear8747

2.3.53 _control8747

2.3.54 _fpreset48

2.3.55 _lrotl48

2.3.56 _lrotr49

2.3.57 _matherrl49

2.3.58 _rotl50

2.3.59 _rotr50

2.3.60 _status8751

2.4 操纵函数51

2.4.1 memccpy,_fmemccpy51

2.4.2 memchr,_fmemchr52

2.4.3 memcmp,_fmemcmp52

2.4.4 memcpy,_fmemcpy53

2.4.5 memicmp,_fmemicmp54

2.4.6 memmove,_fmemmove54

2.4.7 memset,_fmemset55

2.4.8 movedata55

2.4.9 movemem55

2.4.10 setmem56

2.4.11 stpcpy56

2.4.12 strcat,_fstrcat57

2.4.13 strchr57

2.4.14 strcmp58

2.4.15 strcmpi58

2.4.16 strcoll59

2.4.17 strcpy59

2.4.18 strcspn,_fstrcspn60

2.4.19 strdup,_fstrdup60

2.4.20 strerror61

2.4.21 stricmp,_fstricmp61

2.4.22 strlen,_fstrlen62

2.4.23 strlwr,_fstrlwr62

2.4.24 strncat,_fstrncat62

2.4.25 strncmp,_fstrncmp63

2.4.26 strncmpi64

2.4.27 strncpy,_fstrncpy64

2.4.28 strnicmp,_fstrnicmp65

2.4.29 strnset,_fstrnset65

2.4.30 strpbrk,_fstrpbrk66

2.4.31 strrchr,_fstrrchr66

2.4.32 strrev,_fstrrev67

2.4.33 strset,_fstrset67

2.4.34 strspn,_fstrspn68

2.4.35 strstr,_fstrstr68

2.4.36 strtok,_fstrtok69

2.4.37 strupr,_fstrupr69

2.4.38 strxfrm70

2.4.39 wcstombs70

2.4.40 wctomb71

2.4.41 _fmemccpy71

2.4.42 _fmemchr72

2.4.43 _fmemcmp72

2.4.44 _fmemcpy73

2.4.45 _fmemicmp74

2.4.46 _fmemmove74

2.4.47 _fmemset75

2.4.48 _fstrcat75

2.4.49 _fstrcspn75

2.4.50 _fstrdup76

2.4.51 _fstricmp76

2.4.52 _fstrlen77

2.4.53 _fstrlwr77

2.4.54 _fstrncat78

2.4.55 _fstrncmp78

2.4.56 _fstrncpy79

2.4.57 _fstrnicmp79

2.4.58 _fstrnset80

2.4.59 _fstrpbrk80

2.4.60 _fstrrchr81

2.4.61 _fstrrev81

2.4.62 _fstrset82

2.4.63 _fstrspn82

2.4.64 _fstrstr83

2.4.65 _fstrtok83

2.4.66 _fstrupr84

2.4.67 _strerror84

第3章 输入/输出与存储函数85

3.1 输入/输出函数85

3.1.1 access85

3.1.2 cgets85

3.1.3 chmod86

3.1.4 chsize87

3.1.5 clearer87

3.1.6 close88

3.1.7 cprintf88

3.1.8 cputs89

3.1.9 creat89

3.1.10 creatnew90

3.1.11 creattemp91

3.1.12 cscanf91

3.1.13 dup92

3.1.14 dup292

3.1.15 eof93

3.1.16 fclose94

3.1.17 fcloseall94

3.1.18 fdopen95

3.1.19 feof95

3.1.20 ferror96

3.1.21 fflush97

3.1.22 fgetc97

3.1.23 fgetchar98

3.1.24 fgetpos98

3.1.25 fgets99

3.1.26 filelength99

3.1.27 fileno100

3.1.28 flushall100

3.1.29 fopen101

3.1.30 fprintf101

3.1.31 fputc102

3.1.32 fputchar102

3.1.33 fputs103

3.1.34 fread103

3.1.35 freopen104

3.1.36 fscanf105

3.1.37 fseek105

3.1.38 fsetpos106

3.1.39 fstat106

3.1.40 ftell107

3.1.41 fwrite108

3.1.42 getc108

3.1.43 getch109

3.1.44 getchar109

3.1.45 getche110

3.1.46 getftime110

3.1.47 getpass111

3.1.48 gets111

3.1.49 getw112

3.1.50 ioctl112

3.1.51 isatty113

3.1.52 kbhit114

3.1.53 lock114

3.1.54 lseek115

3.1.55 open115

3.1.56 perror116

3.1.57 printf117

3.1.58 putc117

3.1.59 putch118

3.1.60 putchar118

3.1.61 puts119

3.1.62 putw119

3.1.63 read120

3.1.64 remove120

3.1.65 rename121

3.1.66 rewind122

3.1.67 scanf122

3.1.68 setbuf123

3.1.69 setftime123

3.1.70 setmod124

3.1.71 setvbuf124

3.1.72 sopen125

3.1.73 sprintf126

3.1.74 sscanf127

3.1.75 stat127

3.1.76 strerror128

3.1.77 tell128

3.1.78 tmpfile129

3.1.79 tmpnam129

3.1.80 ungetc130

3.1.81 ungetch130

3.1.82 unlock131

3.1.83 vfprintf132

3.1.84 vfscanf132

3.1.85 vprintf133

3.1.86 vscanf134

3.1.87 vsprintf134

3.1.88 vsscanf135

3.1.89 _chmod136

3.1.90 _close137

3.1.91 _creat137

3.1.92 _open138

3.1.93 _read138

3.1.94 _setcursortype139

3.1.95 _strerror140

3.1.96 _write140

3.2 存储函数141

3.2.1 alloca141

3.2.2 brk141

3.2.3 calloc142

3.2.4 coreleft142

3.2.5 farcalloc143

3.2.6 farcoreleft143

3.2.7 farfree144

3.2.8 farheapcheck144

3.2.9 farheapcheckfree145

3.2.10 farheapchecknode145

3.2.11 farheapfillfree146

3.2.12 farheapwalk147

3.2.13 farmalloc147

3.2.14 farrealloc148

3.2.15 free148

3.2.16 heapcheck149

3.2.17 heapcheckfree149

3.2.18 heapchecknode150

3.2.19 heapfillfree150

3.2.20 heapwalk151

3.2.21 malloc151

3.2.22 realloc152

3.2.23 sbrk152

3.2.24 setblock153

3.2.25 set_new_handler153

第4章 其他运行库函数155

4.1 标准函数155

4.1.1 abort155

4.1.2 atexit155

4.1.3 bsearch156

4.1.4 exit156

4.1.5 getenv157

4.1.6 lfind157

4.1.7 lsearch158

4.1.8 putenv159

4.1.9 qsort159

4.1.10 swab160

4.1.11 system160

4.1.12 _exit161

4.1.13 _fullpath161

4.1.14 _onexit162

4.1.15 _putenv162

4.1.16 _searchenv163

4.1.17 _swab163

4.2 时间/日期函数164

4.2.1 asctime164

4.2.2 clock164

4.2.3 ctime165

4.2.4 difftime165

4.2.5 dostounix166

4.2.6 ftime166

4.2.7 getdate167

4.2.8 gettime167

4.2.9 gmtime168

4.2.10 localtime169

4.2.11 mktime169

4.2.12 setdate170

4.2.13 settime170

4.2.14 stime171

4.2.15 strftime171

4.2.16 time172

4.2.17 tzset173

4.2.18 unixtodos173

4.2.19 _strftime174

4.3 调试函数174

4.3.1 assert174

4.3.2 matherr175

4.3.3 perror176

4.4 进程控制函数176

4.4.1 abort176

4.4.2 execl176

4.4.3 execle177

4.4.4 execlp178

4.4.5 execlpe179

4.4.6 execv180

4.4.7 execve181

4.4.8 execvp181

4.4.9 execvpe182

4.4.10 exit183

4.4.11 getpid184

4.4.12 raise184

4.4.13 singnal185

4.4.14 spawnl186

4.4.15 spawnle187

4.4.16 spawnlp188

4.4.17 spawnlpe189

4.4.18 spawnv190

4.4.19 spawnve191

4.4.20 spawnvp192

4.4.21 spawnvpe193

4.4.22 _cexit194

4.4.23 _c_exit194

4.5 目录控制函数195

4.5.1 chdir195

4.5.2 closedir196

4.5.3 findfirst196

4.5.4 findnext197

4.5.5 fnmerge198

4.5.6 fnsplit198

4.5.7 getcurdir199

4.5.8 getcwd199

4.5.9 getdisk200

4.5.10 mkdir200

4.5.11 mktemp201

4.5.12 opendir201

4.5.13 readdir202

4.5.14 rewinddir203

4.5.15 rmdir203

4.5.16 searchpath204

4.5.17 setdisk204

4.5.18 _chdrive205

4.5.19 _dos_findfirst205

4.5.20 _dos_findnext206

4.5.21 _dos_getdiskfree207

4.5.22 _dos_getdrive207

4.5.23 _dos_setdrive208

4.5.24 _getcwd209

4.5.25 _getdrivc209

4.5.26 _makepath210

4.5.27 _searchenv210

4.5.28 _splitpath211

4.6 文本窗口显示函数211

4.6.1 clreol211

4.6.2 clrscr212

4.6.3 delline212

4.6.4 gettext213

4.6.5 gettextinfo213

4.6.6 gotoxy214

4.6.7 highvideo215

4.6.8 insline215

4.6.9 lowvideo216

4.6.10 movetext216

4.6.11 normvideo217

4.6.12 puttext217

4.6.13 textattr218

4.6.14 textbackground219

4.6.15 textcolor219

4.6.16 textmode220

4.6.17 wherex221

4.6.18 wherey221

4.6.19 window222

4.6.20 _setcursortype222

第5章 类库223

5.1 C++输入/输出类库223

5.1.1 iostream类223

5.1.2 iomanip函数225

5.2 C++数学类库228

5.2.1 complex类228

5.2.2 valarray类234

5.3 字符串处理类库243

5.3.1 basic_string类243

5.3.2 char_traits类263

第6章 STL常用容器269

6.1 deque容器269

6.1.1 deque∷assign269

6.1.2 deque∷at270

6.1.3 deque∷back271

6.1.4 deque∷begin271

6.1.5 deque∷clear271

6.1.6 deque∷deque272

6.1.7 deque∷empty273

6.1.8 deque∷end273

6.1.9 deque∷erase274

6.1.10 deque∷front274

6.1.11 deque∷get_allocator275

6.1.12 deque∷insert275

6.1.13 deque∷max_size276

6.1.14 deque∷operator[]276

6.1.15 deque∷operator!=276

6.1.16 deque∷operator<277

6.1.17 deque∷operator<=277

6.1.18 deque∷operator=278

6.1.19 deque∷operator>278

6.1.20 deque∷operator>=279

6.1.21 deque∷pop_back279

6.1.22 deque∷pop_front280

6.1.23 deque∷push_back280

6.1.24 deque∷push_front281

6.1.25 deque∷rbegin281

6.1.26 deque∷rend282

6.1.27 deque∷resize283

6.1.28 deque∷size283

6.1.29 deque∷swap284

6.2 list容器284

6.2.1 list∷assign285

6.2.2 list∷back286

6.2.3 list∷begin286

6.2.4 list∷clear286

6.2.5 list∷empty287

6.2.6 list∷end287

6.2.7 list∷erase288

6.2.8 list∷front288

6.2.9 list∷get_allocator289

6.2.10 list∷insert289

6.2.11 list∷list290

6.2.12 list∷max_size291

6.2.13 list∷merge291

6.2.14 list∷operator!=292

6.2.15 list∷operator<293

6.2.16 list∷operator<=293

6.2.17 list∷operator==293

6.2.18 list∷operator>294

6.2.19 list∷operator>=294

6.2.20 list∷pop_back295

6.2.21 list∷pop_front295

6.2.22 list∷push_back296

6.2.23 list∷push_front296

6.2.24 list∷rbegin297

6.2.25 list∷remove297

6.2.26 list∷rend298

6.2.27 list∷resize299

6.2.28 list∷reverse299

6.2.29 list∷size300

6.2.30 list∷sort300

6.2.31 list∷splice301

6.2.32 list∷swap302

6.2.33 list∷unique303

6.3 map容器303

6.3.1 map∷begin304

6.3.2 map∷clear304

6.3.3 map∷count305

6.3.4 map∷empty305

6.3.5 map∷end305

6.3.6 map∷equal_range306

6.3.7 map∷erase307

6.3.8 map∷find308

6.3.9 map∷get_allocator308

6.3.10 map∷insert309

6.3.11 map∷key_comp310

6.3.12 map∷lower_bound310

6.3.13 map∷map311

6.3.14 map∷max_size312

6.3.15 map∷operator[]312

6.3.16 map∷operator!=313

6.3.17 map∷operator<313

6.3.18 map∷operator<=314

6.3.19 map∷operator==314

6.3.20 map∷operator>315

6.3.21 map∷operator>=315

6.3.22 map∷rbegin316

6.3.23 map∷rend316

6.3.24 map∷size317

6.3.25 map∷swap317

6.3.26 map∷upper_bound318

6.3.27 map∷value_comp319

6.4 multimap容器319

6.4.1 multimap∷begin320

6.4.2 multimap∷clear320

6.4.3 multimap∷count321

6.4.4 multimap∷empty321

6.4.5 multimap∷end321

6.4.6 multimap∷equal_range322

6.4.7 multimap∷erase323

6.4.8 multimap∷find324

6.4.9 multimap∷get_allocator324

6.4.10 multimap∷insert325

6.4.11 multimap∷key_comp326

6.4.12 multimap∷lower_bound326

6.4.13 multimap∷max_size327

6.4.14 multimap∷multimap327

6.4.15 multimap∷operator!=328

6.4.16 multimap∷operator<329

6.4.17 multimap∷operator<=329

6.4.18 multimap∷operator==330

6.4.19 multimap∷operator>330

6.4.20 multimap∷operator>=331

6.4.21 multimap∷rbegin331

6.4.22 multimap∷rend332

6.4.23 multimap∷size333

6.4.24 multimap∷swap333

6.4.25 multimap∷upper_bound334

6.4.26 multimap∷value_comp335

6.5 multiset容器335

6.5.1 multiset∷begin336

6.5.2 multiset∷clear336

6.5.3 multiset∷count336

6.5.4 multiset∷empty337

6.5.5 multiset∷end337

6.5.6 multiset∷equal_range338

6.5.7 multiset∷erase339

6.5.8 multiset∷find339

6.5.9 multiset∷get_allocator340

6.5.10 multiset∷insert340

6.5.11 multiset∷key_comp341

6.5.12 multiset∷lower_bound341

6.5.13 multiset∷max_size342

6.5.14 multiset∷multiset342

6.5.15 multiset∷operator!=343

6.5.16 multiset∷operator<344

6.5.17 multiset∷operator<=344

6.5.18 multiset∷operator==345

6.5.19 multiset∷operator>345

6.5.20 multiset∷operator>=346

6.5.21 multiset∷rbegin346

6.5.22 multiset∷rend347

6.5.23 multiset∷size347

6.5.24 multiset∷swap348

6.5.25 multiset∷upper_bound348

6.5.26 multiset∷value_comp349

6.6 set容器350

6.6.1 set∷begin350

6.6.2 set∷clear351

6.6.3 set∷count351

6.6.4 set∷empty351

6.6.5 set∷end352

6.6.6 set∷equal_range352

6.6.7 set∷erase353

6.6.8 set∷find354

6.6.9 set∷get_allocator355

6.6.10 set∷insert355

6.6.11 set∷key_comp356

6.6.12 set∷lower_bound356

6.6.13 set∷max_size357

6.6.14 set∷operator!=357

6.6.15 set∷operator<357

6.6.16 set∷operator<=358

6.6.17 set∷operator==358

6.6.18 set∷operator>359

6.6.19 set∷operator>=359

6.6.20 set∷rbegin360

6.6.21 set∷rend360

6.6.22 set∷set361

6.6.23 set∷size362

6.6.24 set∷swap362

6.6.25 set∷upper_bound363

6.6.26 set∷value_comp363

6.7 vector容器364

6.7.1 vector∷assign364

6.7.2 vector∷at365

6.7.3 vector∷back366

6.7.4 vector∷begin366

6.7.5 vector∷capacity366

6.7.6 vector∷clear367

6.7.7 vector∷empty367

6.7.8 vector∷end368

6.7.9 vector∷erase368

6.7.10 vector∷front369

6.7.11 vector∷get_allocator369

6.7.12 vector∷insert369

6.7.13 vector∷max_size370

6.7.14 vector∷operator[]371

6.7.15 vector∷operator!=371

6.7.16 vector∷operator<372

6.7.17 vector∷operator<=372

6.7.18 vector∷operator==372

6.7.19 vector∷operator>373

6.7.20 vector∷operator>=373

6.7.21 vector∷pop_back374

6.7.22 vector∷push_back374

6.7.23 vector∷rbegin375

6.7.24 vector∷rend375

6.7.25 vector∷reserve376

6.7.26 vector∷resize376

6.7.27 vector∷size377

6.7.28 vector∷swap378

6.7.29 vector∷vector378

第7章 函数模板380

7.1 不变序列算法380

7.1.1 adjacent_find380

7.1.2 count381

7.1.3 count_if381

7.1.4 equal382

7.1.5 find383

7.1.6 find_end384

7.1.7 find_first_of385

7.1.8 find_if386

7.1.9 for_each387

7.1.10 mismatch388

7.1.11 search389

7.1.12 search_n390

7.2 变序列算法391

7.2.1 copy391

7.2.2 copy_backward391

7.2.3 fill392

7.2.4 fill_n393

7.2.5 generate393

7.2.6 generate_n394

7.2.7 partition395

7.2.8 random_shuffle395

7.2.9 remove396

7.2.10 replace399

7.2.11 rotate402

7.2.12 rotate_copy402

7.2.13 stable_partition403

7.2.14 swap404

7.2.15 transform405

7.2.16 unique407

7.2.17 unique_copy407

7.3 排序算法408

7.3.1 binary search408

7.3.2 heap operations411

7.3.3 inplace_merge414

7.3.4 lexicographical_compare415

7.3.5 merge415

7.3.6 minimum and maximum416

7.3.7 next_permutation418

7.3.8 nth_element419

7.3.9 prev_permutation420

7.3.10 setoperations421

7.3.11 sort424

7.4 数值算法427

7.4.1 accumulate427

7.4.2 adjacent_difference427

7.4.3 inner_product428

7.4.4 partial_sum429

第8章 函数对象431

8.1 函数模板类431

8.1.1 binary_function431

8.1.2 binary_negate432

8.1.3 binder1st432

8.1.4 binder2nd433

8.1.5 const_mem_fun_ref_t434

8.1.6 const_mem_fun_t435

8.1.7 const_mem_funl_ref_t435

8.1.8 const_mem_funl_t436

8.1.9 divides437

8.1.10 logical_and437

8.1.11 logical_not438

8.1.12 logical_or439

8.1.13 mem_fun_ref_t439

8.1.14 mem_fun_t440

8.1.15 mem_funl_ref_t441

8.1.16 mem_funl_t441

8.1.17 minus442

8.1.18 modulus443

8.1.19 multiplies444

8.1.20 negate444

8.1.21 plus445

8.1.22 unary_function446

8.1.23 unary_negate446

8.2 模板函数447

8.2.1 bind1st447

8.2.2 bind2nd448

8.2.3 equal_to448

8.2.4 greater449

8.2.5 greater_equal450

8.2.6 less450

8.2.7 less_equal451

8.2.8 mem_fun452

8.2.9 mem_fun_ref453

8.2.10 not_equal_to454

8.2.11 not1455

8.2.12 not2456

8.2.13 pointer_to_binary_function456

8.2.14 pointer_to_unary_function457

8.2.15 ptr_fun458

第9章 异常处理459

9.1 异常的定义459

9.2 异常的使用方法460

9.3 异常处理的优点461

附录463

A.1 格式化的输入463

A.2 格式化的输出463

A.3 函数的用法464

A.3.1 函数的声明与定义465

A.3.2 函数的调用465

A.3.3 函数的作用范围468

A.3.4 函数的变量作用域468

A.4 ASCII字符集468

A.5 C++运算符和结合性469

A.6 C++头文件470

热门推荐