C语言wtol函数,Visual C++.NET运行库函数大全

Visual C++.NET运行库函数大全

作 者:官章全,陈天才等编著

出版时间:2003

丛编项:软件工程师丛书

内容简介

Visual C++.NET库包括MFC、ATL、标准C++库和运行库等内容。运行库则包含大量预定义的函数和宏,这些函数和宏并不在C和C++语言中提供,其作用和地位类似于Windows API函数,它们可自动实现大量编程任务。在Windows 98/Me/NT/2000/XP操作系统下利用这些函数和宏进行Visual C++.NET编程,大大方便了C++程序设计。标准C++库和运行库函数相互补充,是对编写C++应用程序的强有力的支撑。本书分21类介绍了常用的Visual C++.NET运行库函数和宏,是开发C++程序不可缺少的基本参考资料。

目录

第1章参数访问1

1.1va_arg.va_end和va_start2

第2章缓冲区处理5

2.1_memccpy6

2.2memchr和wmemchr7

2.3memcmp和wmemcmp9

2.4memcpy和wmemcpy10

2.5_memicmp11

2.6memmove和wmemmove13

2.7memset和wmemset14

2.8_swab15

第3章字节分类17

3.1isleadbyte20

3.2_ismbbalnum20

3.3_ismbbalpha21

3.4_ismbbgraph21

3.5_ismbbkalnum22

3.6_ismbbkana22

3.7_ismbbkprint22

3.8_ismbbkpunct23

3.9_ismbblead23

3.10_ismbbprint24

3.11_ismbbpunct24

3.12_ismbbtrail25

3.13_ismbslead和_ismbstrail25

3.14_mbbtype26

3.15_mbsbtype27

3.16mbsinit28

第4章字符分类31

4.1isalnum和iswalnum32

4.2_ismbcalnum._ismbcalpha和_ismbcdigit33

4.3isalpha和iswalpha34

4.4_isascii和iswascii35

4.5iscntrl和iswcntrl35

4.6_iscsym和_iscsymf36

4.7isdigit和iswdigit37

4.8isgraph和iswgraph37

4.9_ismbcgraph._ismbcprint._ismbcpunct和_ismbcspace38

4.10islower和iswlower39

4.11_ismbclower和_ismbcupper40

4.12_ismbclegal和_ismbcsymbol40

4.13isprint和iswprint41

4.14ispunct和iswpunct42

4.15isspace和iswspace42

4.16isupper和iswupper43

4.17iswctype44

4.18isxdigit和iswxdigit44

4.19_mbclen和mblen45

第5章数据队列47

5.1_aligned_free48

5.2_aligned_malloc48

5.3_aligned_offset_malloc50

5.4_aligned_offset_realloc50

5.5_aligned_realloc51

第6章数据转换53

6.1abs和_abs6455

6.2atof._wtof.atoi._wtoi._atoi64._wtoi64.atol和_wtol56

6.3_ecvt58

6.4_fcvt59

6.5_gcvt61

6.6_itoa._i64toa._ui64toa._itow._i64tow和_ui64tow62

6.7labs64

6.8_ltoa和_ltow65

6.9_mbbtombc66

6.10_mbctombb67

6.11mbstowcs67

6.12mbtowc69

6.13strtod和wcstod70

6.14strtol和wcstol72

6.15strtoul和wcstoul75

6.16strxfrm和wcsxfrm77

6.17_toascii78

6.18tolower._tolower和towlower79

6.19_mbctolower和_mbctoupper81

6.20toupper._toupper和towupper82

6.21_ultoa和_ultow83

6.22wcstombs84

6.23wctomb86

第7章调试函数89

7.1_ASSERT和_ASSERTE宏91

7.2_CrtCheckMemory94

7.3_CrtDbgReport97

7.4_CrtDoForAllClientObjects105

7.5_CrtDumpMemoryLeaks109

7.6_CrtIsValidHeapPointer109

7.7_CrtIsMemoryBlock111

7.8_CrtIsValidPointer112

7.9_CrtMemCheckpoint112

7.10_CrtMemDifference113

7.11_CrtMemDumpAllObjectsSince114

7.12_CrtMemDumpStatistics115

7.13_CrtSetAllocHook115

7.14_CrtSetBreakAlloc116

7.15_CrtSetDbgFlag118

7.16_CrtSetDumpClient122

7.17_CrtSetReportFile123

7.18_CrtSetReportHook127

7.19_CrtSetReportHook2128

7.20_CrtSetReportMode131

7.21_RPT和_RPTF宏133

7.22_calloc_dbg135

7.23_expand_dbg137

7.24_free_dbg139

7.25_malloc_dbg140

7.26_msize_dbg141

7.27_realloc_dbg142

7.28_set_security_error_handler143

第8章目录控制145

8.1_chdir和_wchdir146

8.2_chdrive147

8.3_getcwd和_wgetcwd149

8.4_getdcwd和_wgetdcwd150

8.5_getdiskfree152

8.6_getdrive155

8.7_getdrives156

8.8_mkdir和_wmkdir157

8.9_rmdir和_wrmdir159

8.10_searchenv和_wsearchenv160

第9章错误处理163

9.1assert164

9.2_ASSERT和_ASSERTE宏165

9.3clearerr168

9.4_eof169

9.5feof170

9.6ferror171

9.7_RPT和_RPTF宏172

9.8_set_error_mode175

第10章异常处理函数177

10.1_set_se_translator178

10.2set_terminate 180

10.3set_unexpected181

10.4terminate182

10.5unexpected184

第11章文件处理185

11.1_chsize187

11.2_filelength和_filelengthi64188

11.3_fstat._fstat64和_fstati64189

11.4_isatty192

11.5_locking192

11.6_setmode194

11.7_access和_waccess195

11.8_chmod和_wchmod197

11.9_fullpath和_wfullpath199

11.10_get_osfhandle201

11.11_makepath和_wmakepath201

11.12_mktemp和_wmktemp203

11.13_open_osfhandle205

11.14remove和_wremove206

11.15rename和_wrename207

11.16_splitpath和_wsplitpath208

11.17_stat._stat64._stati64._wstat._wstat64和_wstati64210

11.18_umask213

11.19_unlink和_wunlink214

11.20fopen和_wfopen215

11.21_fsopen和_wfsopen218

11.22_open和_wopen220

11.23_sopen和_wsopen223

11.24_fdopen和_wfdopen226

11.25_fileno229

11.26_open_osfhandle230

11.27_pipe230

11.28freopen和_wfreopen236

第12章浮点支持函数239

12.1abs和_abs64241

12.2acos和acosf241

12.3asin和asinf243

12.4atan.atanf.atan2和atan2f244

12.5atof._wtof.atoi._wtoi._atoi64._wtoi64.atol和_wtol245

12.6Bessel函数245

12.7_cabs247

12.8ceil和ceilf248

12.9_chgsign249

12.10_clear87和_clearfp250

12.11_control87和_controlfp253

12.12_copysign256

12.13cos.cosf.cosh和coshf257

12.14difftime258

12.15div259

12.16_ecvt260

12.17exp和expf261

12.18fabs和fabsf262

12.19_fcvt263

12.20_finite263

12.21floor和floorf263

12.22fmod和fmodf264

12.23_fpclass265

12.24_fpieee_flt266

12.25_fpreset269

12.26frexp271

12.27_gcvt272

12.28_hypot和hypotf273

12.29_isnan274

12.30labs275

12.31ldexp275

12.32ldiv276

12.33log.logf.log10和log10f277

12.34_logb278

12.35_lrotl和_lrotr278

12.36_matherr279

12.37_max282

12.38_min283

12.39modf和modff284

12.40_nextafter285

12.41pow和powf285

12.42printf和wprintf286

12.43rand289

12.44_rotl._rotl64和_rotr_rotr64290

12.45_scalb291

12.46scanf和wscanf292

12.47sin.sinf.sinh和sinhf293

12.48sqrt和sqrtf295

12.49srand296

12.50_status87和_statusfp297

12.51strtod和wcstod298

12.52tan.tanf.tanh和tanhf300

12.53longdouble类型302

第13章输入和输出303

文本和二进制模式文件I/O304

文本和二进制模式中的Unicode流I/O304

13.1clearerr307

13.2fclose和_fcloseall308

13.3_fdopen和_wfdopen309

13.4feof312

13.5ferror313

13.6fflush314

13.7fgetc.fgetwc._fgetchar和_fgetwchar316

13.8fgetpos317

13.9fgets和fgetws319

13.10_fileno320

13.11_flushall321

13.12fopen和_wfopen322

13.13fprintf和fwprintf322

13.14fputc.fputwc._fputchar和_fputwchar324

13.15fputs和fputws325

13.16fread326

13.17freopen和_wfreopen328

13.18fscanf和fwscanf328

13.19fseek330

13.20fsetpos332

13.21_fsopen和_wfsopen332

13.22ftell332

13.23fwrite334

13.24getc.getwc.getchar和getwchar335

13.25_getmaxstdio337

13.26gets和_getws337

13.27_getw338

13.28printf和wprintf340

13.29putc.putwc.putchar和putwchar342

13.30puts和_putws344

13.31_putw345

13.32rewind346

13.33_rmtmp347

13.34scanf和wscanf348

13.35setbuf350

13.36_setmaxstdio351

13.37setvbuf352

13.38_snprintf和_snwprintf353

13.39_snscanf和_snwscanf357

13.40sprintf和swprintf358

13.41sscanf和swscanf360

13.42_tempnam._wtempnam.tmpnam和_wtmpnam361

13.43tmpfile364

13.44ungetc和ungetwc365

13.45vfprintf和vfwprintf366

13.46vprintf和vwprintf367

13.47_vsnprintf和_vsnwprintf368

13.48vsprintf和vswprintf369

13.49_close371

13.50_commit372

13.51_creat和_wcreat373

13.52_dup和_dup2375

13.53_eof377

13.54_lseek和_lseeki64378

13.55_open和_wopen380

13.56_read382

13.57_sopen和_wsopen384

13.58_tell和_telli64387

13.59_umask388

13.60_write389

13.61_cgets和_cgetws391

13.62_cprintf和_cwprintf392

13.63_cputs和_cputws394

13.64_cscanf和_cwscanf395

13.65_getch._getwch._getche和_getwche396

13.66_inp._inpw和_inpd397

13.67_kbhit398

13.68_outp._outpw和_outpd399

13.69_putch和_putwch399

13.70_ungetch和_ungetwch401

第14章国际化函数403

14.1atof.atoi和atol405

14.2is和isw函数405

14.3isleadbyte410

14.4localeconv411

14.5MB_CUR_MAX413

14.6_mbccpy413

14.7_mbclen和mblen414

14.8strlen.wcslen._mbslen和_mbstrlen414

14.9mbstowcs416

14.10mbtowc416

14.11printf和wprintf416

14.12scanf和wscanf418

14.13setlocale和_wsetlocale420

14.14strcoll.wcscoll和_mbscoll426

14.15_stricmp._wcsicmp和_mbsicmp428

14.16_stricoll._wcsicoll和_mbsicoll430

14.17_strncoll._wcsncoll和_mbsncoll431

14.18_strnicmp._wcsnicmp和_mbsnicmp432

14.19_strnicoll._wcsnicoll和_mbsnicoll435

14.20strftime和wcsftime436

14.21_strlwr._wcslwr和_mbslwr440

14.22strtod和wcstod441

14.23strtol和wcstol441

14.24strtoul和wcstoul442

14.25_strupr._wcsupr和_mbsupr442

14.26strxfrm和wcsxfrm443

14.27to函数443

14.28wcstombs445

14.29wctomb445

14.30多字节字符序列的解释445

14.31代码页445

14.32单字节和多字节字符集446

14.33SBCS和MBCS数据类型446

14.34Unicode宽字符集447

14.35通用文本映射447

14.36通用文本程序454

第15章内存分配457

15.1_alloca458

15.2calloc459

15.3_calloc_dbg460

15.4operatordelete460

15.5operatordelete[]461

15.6_expand462

15.7_expand_dbg463

15.8free463

15.9_free_dbg465

15.10_get_sbh_threshold465

15.11_heapadd465

15.12_heapchk466

15.13_heapmin467

15.14_heapset467

15.15_heapwalk469

15.16malloc472

15.17_malloc_dbg473

15.18_msize473

15.19_msize_dbg475

15.20operatornew475

15.21operatornew[]476

15.22_query_new_handler478

15.23_query_new_mode478

15.24realloc479

15.25_realloc_dbg480

15.26_set_new_handler481

15.27_set_new_mode482

15.28_set_sbh_threshold483

第16章进程和环境控制485

16.1abort488

16.2assert489

16.3_ASSERT和_ASSERTE宏490

16.4atexit490

16.5_beginthread和_beginthreadex492

16.6_cexit和_c_exit497

16.7_cwait498

16.8_endthread和_endthreadex500

16.9_execl和_wexecl503

16.10_execlp和_wexeclp506

16.11_execlpe和_wexeclpe507

16.12_execv和_wexecv508

16.13_execve和_wexecve508

16.14_execvp和_wexecvp509

16.15_execvpe和_wexecvpe510

16.16exit和_exit513

16.17getenv和_wgetenv514

16.18_getpid516

16.19longjmp517

16.20_onexit520

16.21_pclose521

16.22perror和_wperror522

16.23_pipe523

16.24_popen和_wpopen523

16.25_putenv和_wputenv525

16.26raise527

16.27setjmp528

16.28signal531

16.29_spawnl和_wspawnl532

16.30_spawnle和_wspawnle535

16.31_spawnlp和_wspawnlp536

16.32_spawnlpe和_wspawnlpe537

16.33_spawnv和_wspawnv538

16.34_spawnve和_wspawnve539

16.35_spawnvp和_wspawnvp540

16.36_spawnvpe和_wspawnvpe541

16.37system和_wsystem543

第17章运行错误检查545

17.1_RTC_GetErrDesc546

17.2_RTC_NumErrors546

17.3_RTC_SetErrorFunc547

17.4_RTC_SetErrorType549

第18章查找和排序551

18.1bsearch552

18.2_lfind554

18.3_lsearch555

18.4qsort556

第19章字符串处理559

19.1_mbscoll.strcoll和wcscoll561

19.2_mbsicoll._stricoll和_wcsicoll562

19.3_mbsncoll._strncoll和_wcsncoll563

19.4_mbsnicoll._strnicoll和_wcsnicoll565

19.5_mbsdec._strdec和_wcsdec566

19.6_mbsinc._strinc和_wcsinc567

19.7strlen.wcslen._mbslen和_mbstrlen568

19.8_mbsnbcat568

19.9_mbsnbcmp568

19.10_mbsnbcnt._mbsnccnt._strncnt和_wcsncnt570

19.11_mbsnbcpy572

19.12_mbsnbicmp573

19.13_mbsnbset575

19.14_mbsnextc._strnextc和_wcsnextc576

19.15_mbsninc._strninc和_wcsninc576

19.16_mbsspnp._strspnp和_wcsspnp577

19.17_scprintf和_scwprintf578

19.18_snscanf和_snwscanf579

19.19sprintf和swprintf581

19.20strcat.wcscat和_mbscat581

19.21strchr.wcschr和_mbschr582

19.22strcmp.wcscmp和_mbscmp584

19.23strcpy.wcscpy和_mbscpy586

19.24strcspn.wcscspn和_mbscspn588

19.25_strdup._wcsdup和_mbsdup589

19.26strerror._strerror._wcserror和_wcserror590

19.27strftime和wcsftime592

19.28_stricmp._wcsicmp和_mbsicmp592

19.29_strlwr._wcslwr和_mbslwr593

19.30strncat.wcsncat和_mbsncat593

19.31strncmp.wcsncmp和_mbsncmp594

19.32strncpy.wcsncpy和_mbsncpy596

19.33_strnicmp._wcsnicmp和_mbsnicmp598

19.34_strnset._wcsnset和_mbsnset600

19.35strpbrk.wcspbrk和_mbspbrk601

19.36strrchr.wcsrchr和_mbsrchr603

19.37_strrev._wcsrev和_mbsrev605

19.38_strset._wcsset和_mbsset606

19.39strspn.wcsspn和_mbsspn607

19.40strstr.wcsstr和_mbsstr608

19.41strtok.wcstok和_mbstok610

19.42_strupr._wcsupr和_mbsupr612

19.43strxfrm和wcsxfrm612

19.44vsprintf和vswprintf612

第20章系统调用613

20.1_findclose614

20.2_findfirst._findfirst64._findfirsti64._wfindfirst._wfindfirst64和_wfindfirsti64614

20.3_findnext._findnext64._findnexti64._wfindnext._wfindnext64和_wfindnexti64616

第21章时间管理619

21.1asctime和_wasctime620

21.2clock622

21.3ctime._ctime64._wctime和_wctime64624

21.4difftime625

21.5_ftime和_ftime64626

21.6_futime和_futime64628

21.7gmtime和_gmtime64630

21.8localtime和_localtime64631

21.9mktime和_mktime64633

21.10_strdate和_wstrdate635

21.11strftime和wcsftime637

21.12_strtime和_wstrtime637

21.13time和_time64639

21.14_tzset639

21.15_utime._utime64._wutime和_wutime64641

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值