《学习和使用 Visual C++ 下》求取 ⇩

第一章文件和目录管理函数1

1.1MS-DOS文件系统1

1.1.1 路径名1

1.1.2 作为文件的设备2

1.1.3 文件属性2

1.1.4 文件句柄3

1.2 基本文件和目录管理任务3

1.2.1 改变驱动器和目录4

1.2.2 改变文件属性6

1.3 函数参考7

1.3.1_access7

1.3.2 _chdir8

1.3.3 _chdirve8

1.3.4 _chmod9

1.3.5 _chsize10

1.3.6 _filelength10

1.3.7 _fstat11

1.3.8 _fullpath11

1.3.9 _getcwd12

1.3.10 _getdcwd13

1.3.11 _getdrive13

1.3.12 _isatty14

1.3.13 _locking14

1.3.14 _makepath15

1.3.15 _mkdir16

1.3.16 _mktemp16

1.3.17 remove17

1.3.18 rename17

1.3.19 _rmdir17

1.3.20 _searchenv18

1.3.21 _setmode18

1.3.22 _splitpath19

1.3.23 _stat19

1.3.24 _umask20

1.3.25 _unlink21

第二章流I/O函数22

2.122

2.1.1 I/O缓冲22

2.1.2 FILE类型23

2.1.3 I/O的格式化和非格式化23

2.1.4 文件的当前位置23

2.1.5 预定义流24

2.1.6 字符串输入/输出24

2.2基本流I/O任务24

2.2.1 给文件添加行号26

2.2.2 简单的通信录28

2.2.3 显示错误信息的简单方法34

2.3函数参考35

2.3.1 clearerr35

2.3.2 fclose35

2.3.3 _fcloseall36

2.3.4 _fdopen36

2.3.5 feof37

2.3.6 ferror38

2.3.7 fflush38

2.3.8 fgetc39

2.3.9 _fgetchar39

2.3.10 fgetpos40

2.3.11 fgets40

2.3.12 _fileno41

2.3.13 _flushall42

2.3.14 fopen42

2.3.15 fprintf43

2.3.16 fputc43

2.3.17 _fputchar44

2.3.18 fputs44

2.3.19 fread45

2.3.20 freopen45

2.3.21 fscanf46

2.3.22 fseek47

2.3.23 fsetpos47

2.3.24 _fsopen48

2.3.25 ftell48

2.3.26 fwrite49

2.3.27 getc50

2.3.28 getchar50

2.3.29 gets50

2.3.30 _getw51

2.3.31 perror51

2.3.32 printf52

2.3.33 putc54

2.3.34 putchar54

2.3.35 puts55

2.3.36 _putw55

2.3.37 rewind56

2.3.38 _rmtmp56

2.3.39 scanf57

2.3.40 setbuf58

2.3.41 setvbuf59

2.3.42 _snprintf60

2.3.43 sprintf60

2.3.44 sscanf61

2.3.45 _tempnam61

2.3.46 tmpfile62

2.3.47 tmpnam62

2.3.48 ungetc63

2.3.49 vfprintf63

2.3.50 vprintf64

2.3.51 _vsnprintf65

2.3.52 vsprintf66

第三章低级I/O函数67

3.1低级I/O函数基础67

3.1.1 文本和二进制模式67

3.1.2 通过操作系统完成缓冲67

3.1.3 文件句柄67

3.1.4 最大文件句柄数68

3.2基本的低级I/O任务68

3.2.1 拷贝文件69

3.2.2 用_dup和_dup2重定向stdout71

3.3函数参考72

3.3.1 _close72

3.3.2 _commit73

3.3.3 _creat73

3.3.4 _dup74

3.3.5 _dup274

3.3.6 _eof75

3.3.7 _lseek75

3.3.8 _open76

3.3.9 _read77

3.3.10 _sopen78

3.3.11 _tell79

3.3.12 _write79

第四章控制台和端口I/O函数81

4.1控制台和端口I/O基础81

4.1.1 控制台和端口I/O的任务81

4.1.2 用_inp和_outp产生声音82

4.2函数参考83

4.2.1 _cgets83

4.2.2 _cprintf84

4.2.3 _cputs84

4.2.4 _cscanf85

4.2.5 _getch85

4.2.6 _getche86

4.2.7 inp86

4.2.8 _inpw87

4.2.9 _kbhit87

4.2.10 _outp88

4.2.11 _outpw88

4.2.12 _putch89

4.2.13 _ungetch89

第五章字符和数据转换函数91

5.1字符和数据转换基础91

5.1.1 字符分类91

5.1.2 转换数据92

5.2字符和数据转换任务92

5.2.1 将文本字符串转换为小写94

5.2.2 一个简单的计算器95

5.3函数参考96

5.3.1 atof96

5.3.2 atoi,atol96

5.3.3 _atold97

5.3.4 _ecvt,_fcvt97

5.3.5 _gcvt98

5.3.6 isalnum99

5.3.7 isalpha99

5.3.8 __isascii99

5.3.9 iscntrl,isdigit,isgraph,islower,isprint,ispunct,isspace,isupper,isxdigit100

5.3.10 __iscsym,__iscsymf101

5.3.11 _itoa,_ltoa101

5.3.12 strtod102

5.3.13 strtol102

5.3.14 _strtold103

5.3.15 strtoul104

5.3.16 __toascii104

5.3.17 _tolower,tolower105

5.3.18 _toupper,toupper105

5.3.19 _ultoa106

第六章串和缓冲区处理函数107

6.1C中的串和缓冲区107

6.1.1 声明串和缓冲区107

6.1.2 字典顺序107

6.1.3 多字节和宽位字符串107

6.1.4 远程缓冲区和串108

6.2基本的串和缓冲区处理任务108

6.2.1 拷贝视频内存111

6.2.2 分析文本行112

6.3函数参考113

6.3.1 fmblen,_fmblen113

6.3.2 mbstowcs,_fmbstowcs114

6.3.3 mbtowc,_fmbtowc114

6.3.4 _memccpy,_fmemccpy115

6.3.5 memchr,_fmemchr116

6.3.6 memcmp,_fmemcmp116

6.3.7 memcpy,_fmemcpy117

6.3.8 _memicmp,_fmemicmp118

6.3.9 memmove,_fmemmove118

6.3.10 memset,_fmemset119

6.3.11 _movedata120

6.3.12 strcat,_fstrcat120

6.3.13 strchr,_fstrchr121

6.3.14 strcmp,_fstrcmp121

6.3.15 _strcmpi122

6.3.16 strcoll123

6.3.17 strcpy,_fstrcpy123

6.3.18 strcspn,_fstrcspn124

6.3.19 _strdup,_fstrdup, _nstrdup124

6.3.20 _strerror125

6.3.21 strerror126

6.3.22 _stricmp,_fstricmp126

6.3.23 strlen,_fstrlen127

6.3.24 _strlwr,_fstrlwr127

6.3.25 strncat,_fstrncat128

6.3.26 strncmp,_fstrncmp128

6.3.27 strncpy,_fstrncpy129

6.3.28 _strnicmp,_fstrnicmp130

6.3.29 _strnset,_fstrnset130

6.3.30 strpbrk,_fstrpbrk131

6.3.31 strrchr,_fstrrchr132

6.3.32 _strrev ,_fstrrev132

6.3.33 _strset,_fstrset133

6.3.34 strspn,_fstrspn133

6.3.35 strstr,_fstrstr134

6.3.36 strtok,fstrtok135

6.3.37 _strupr,_fstrupr136

6.3.38 strxfrm136

6.3.39 _swab137

6.3.40 wcstombs,_fwcstombs137

6.3.41 wctomb,_fwctomb138

第七章查找和排序函数139

7.1 查找和排序的基本任务139

7.2函数参考141

7.2.1 bsearch141

7.2.2 _1find,_lsearch142

7.2.3 qsort143

第八章日期和时间管理函数144

8.1时间格式144

8.1.1 当地时间、GMT和UCT144

8.1.2 时间转换144

8.2基本的日期和时间管理任务145

8.2.1 获取并打印当前的日期和时间146

8.2.2 打印某个月的日历146

8.3函数参考150

8.3.1 asctime150

8.3.2 clock151

8.3.3 crime151

8 3.4 difftime152

8.3.5 _ftime152

8.3.6 gmtime,localtime153

8.3.7 mktime154

8.3.8 _strdate154

8.3.9 strftime155

8.3.10 _strtime156

8.3.11 time156

8.3.12 _tzset157

8.3.13 _utime158

第九章数学函数159

9.1浮点数概述159

9.1.1 浮点数的存储格式159

9.1.2 浮点变量的类型159

9.1.3 浮点库160

9.1.4 数学函数的错误处理160

9.2数学函数的类型160

9.2.1 计算债款163

9.2.2 计算正弦和余弦164

9.3函数参考165

9.3.1 abs165

9.3.2 acos,acos1165

9.3.3 asin,asin1166

9.3.4 atan,atan1166

9.3.5 atan2,atan21167

9.3.6 贝塞耳函数167

9.3.7 _cabs,_cabs1168

9.3.8 ceil,ceil1169

9.3.9 _clear87,_control87169

9.3.10 cos,cos1170

9.3.11 cosh,cosh1171

9.3.12 _dieeetomsbin, dmsbintoieee171

9.3.13 div172

9.3.14 exp,exp1172

9.3.15 fabs,fabs1173

9.3.16 fieeetomsbin, fmsbintoieee173

9.3.17 floor,floor1174

9.3.18 fmod,fmod1174

9.3.19 fpreset175

9.3.20 frexp,frexp1175

9.3.21 hypot,_hypot1176

9.3.22 labs176

9.3.23 ldexp,ldexp1177

9.3.24 ldiv177

9.3.25 log,log10,log1,log101178

9.3.26 lrot1,lrotr179

9.3.27 _matherr,_matherr1179

9.3.28 __max,__min180

9.3.29 modf,modf1180

9.3.30 pow,pow1181

9.3.31 rand181

9.3.32 _rot1,_rotr182

9.3.33 sin,sin1182

9.3.34 sinh,sinh1183

9.3.35 sqrt,sqrt1183

9.3.36 srand184

9.3.37 _status87184

9.3.38 tan,tan1185

9.3.39 tanh,tanh1185

第十章进程控制函数187

10.1进程管理187

10.1.1 环境187

10.1.2 信号187

10.1.3 可变长度的参数表188

10.1.4 现场188

10.2 进程控制的基本任务188

10.3函数参考194

10.3.1 abort194

10.3.2 assert194

10.3.3 atexit,_fatexit195

10.3.4 _cexit,_c_exit195

10.3.5 _execl,_execle,_execlp,_execlpe,_execv,_execve,_execvp,_execvpe196

10.3.6 exit197

10.3.7 _exit197

10.3.8 getenv198

10.3.9 _getpid198

10.3.10 localeconv199

10.3.11 longjmp200

10.3.12 _onexit,_fonexit200

10.3.13 _putenv201

10.3.14 raise201

10.3.15 setjmp202

10.3.16 setlocale202

10.3.17 signal203

10.3.18 spawnl,_spawnle, _spawnlp,_spawnlpe, _spawnv,_spawnve, _spawnvp,_spawnvpe204

10.3.19 system205

10.3.20 va_arg,va_end, va_start(ANSI版本)206

10.3.21 va_arg,va_end, va_start(UNIX版本)207

第十一章内存管理函数209

11.1内存管理基础209

11.1.1 分段内存寻址209

11.1.2 内存模式209

11.1.3 near,far和huge指针210

11.1.4 __near,__far和__huge关键字210

11.1.5 堆210

11.1.6 基堆210

11.1.7 虚拟内存212

11.2 基本内存管理任务212

11.3函数参考217

11.3.1 _alloca217

11.3.2 _bfreeseg217

11.3.3 _bheapseg218

11.3.4 calloc,_bcalloc,_fcalloc,_halloc,_ncalloc218

11.3.5 _expand,_bexpand, _fexpand,_nexpand219

11.3.6 free,_bfree,_ffree, _hfree,_nfree220

11.3.7 _freect221

11.3.8 _heapadd,_bheapadd221

11.3.9 _heapchk,_bheapchk, _fheapchk,_nheapchk222

11.3.10 _heapmin,_bheapmin,_fheapmin,_nheapmin223

11.3.11 _heapset,_bheapset,_fheapset,_nheapset223

11.3.12 _heapwalk,_bheapwalk,_fheapwalk,_nheapwalk224

11.3.13 malloc,bmalloc, _fmalloc,_nmalloc225

11.3.14 _memavl226

11.3.15 _memmax227

11.3.16 _msize,_bmsize,_fmsize,_nmsize227

11.3.17 realloc,_brealloc,_frealloc,_nrealloc228

11.3.18 _stackavail228

11.3.19 _vfree229

11.3.20 _vheapinit229

11.3.21 _vheapterm230

11.3.22 _vload231

11.3.23 _vlock231

11.3.24 _vlockcnt232

11.3.25 _vmalloc233

11.3.26 _vmsize233

11.3.27 _vrealloc234

11.3.28 _vunlock235

第十二章DOS和BIOS调用函数236

12.1访问BIOS和DOS服务236

12.1.1 BIOS服务236

12.1.2 MS-DOS功能237

12.2基本DOS和BIOS任务238

12.2.1 目录清单239

12.2.2 观察磁盘物理扇区240

12.3函数参考244

12.3.1 _bdos244

12.3.2 _bios_disk244

12.3.3 _bios_equiplist246

12.3.4 _bios_keybrd247

12.3.5 _bios_memsize248

12.3.6 _bios_printer249

12.3.7 _bios_serialcom250

12.3.8 _bios_timeofday252

12.3.9 _chain_intr252

12.3.10 _disable253

12.3.11 _dos_allocmem253

12.3.12 _dos_close254

12.3.13 _dos_commit254

12.3.14 _dos_creat, _dos_creatnew255

12.3.15 _dos_findfirst, _dos_findnext256

12.3.16 _dos_freemem257

12.3.17 _dos_getdate258

12.3.18 _dos_getdiskfree258

12.3.19 _dos_getdrive259

12.3.20 _dos_getfileattr260

12.3.21 _dos_getftime260

12.3.22 _dos_gettime262

12.3.23 _dos_getvect262

12.3.24 _dos_keep263

12.3.25 _dos_open263

12.3.26 _dos_read264

12.3.27 _dos_setblock265

12.3.28 _dos_setdate266

12.3.29 _dos_setdrive266

12.3.30 dos_setfileattr267

12.3.31 _dos_setftime268

12.3.32 _dos_settime269

12.3.33 _dos_setvect269

12.3.34 _dos_write270

12.3.35 _dosexterr271

12.3.36 _enable271

12.3.37 _FP_OFF,_FP_SEG272

12.3.38 _harderr,_hardresume, _hardretn272

12.3.39 _int86,_int86x274

12.3.40 _intdos,_intdosx275

12.3.41 _segread276

1997《学习和使用 Visual C++ 下》由于是年代较久的资料都绝版了,几乎不可能购买到实物。如果大家为了学习确实需要,可向博主求助其电子版PDF文件(由李蕾,朱志强等 1997 上海:同济大学出版社 出版的版本) 。对合法合规的求助,我会当即受理并将下载地址发送给你。

高度相关资料

面向对象的数据库程序设计(1996 PDF版)
面向对象的数据库程序设计
1996 北京:电子工业出版社
Visual C++使用指南( PDF版)
Visual C++使用指南
学用Visual C++5( PDF版)
学用Visual C++5
Microsoft Visual C++使用指南(1999 PDF版)
Microsoft Visual C++使用指南
1999
Micorosoft c/c++和Visual c++库函数用法详解( PDF版)
Micorosoft c/c++和Visual c++库函数用法详解
Visual C++ 6.0编程高手(1999 PDF版)
Visual C++ 6.0编程高手
1999 北京:北京希望电脑公司;北京:北京希望电子出版社
Visual C++ 2.0可视化使用指南(1995 PDF版)
Visual C++ 2.0可视化使用指南
1995 北京:机械工业出版社
Visual C++使用速成(1996 PDF版)
Visual C++使用速成
1996 北京:清华大学出版社
Visual C++2使用指南(1995 PDF版)
Visual C++2使用指南
1995 北京:清华大学出版社
Visual C++ 6.0使用与开发(1998 PDF版)
Visual C++ 6.0使用与开发
1998 北京:清华大学出版社
如何使用Visual C++ 6.0(1999 PDF版)
如何使用Visual C++ 6.0
1999 北京:机械工业出版社
学习使用C语言(1994 PDF版)
学习使用C语言
1994 北京:人民邮电出版社
Visual C++5.0使用与开发(1997 PDF版)
Visual C++5.0使用与开发
1997 北京:清华大学出版社
Visual C++5.0使用指南(1998 PDF版)
Visual C++5.0使用指南
1998 西安:西安电子科技大学出版社
Visual C++ 6.0学习教程(1999 PDF版)
Visual C++ 6.0学习教程
1999 北京:北京大学出版社