我是指在能否在计算机的某个文件中找到?

如我想查看strlwr()的函数体是怎么实现的,要在那个路径下查找呢?或我想查看其它一些参数,如某个函数的具体参数,要去哪找?

月关宝盒
浏览 133回答 2
2回答

森林海

安装盘下: VC98\CRT\SRC\STRLWR.Cchar * __cdecl _strlwr (char * string){#if defined (_WIN32)int dstlen; /* len of dst string, with null */unsigned char *dst = NULL; /* destination string */#if defined (_MT)int local_lock_flag;#endif /* defined (_MT) */if (__lc_handle[LC_CTYPE] == _CLOCALEHANDLE){char *cp; /* traverses string for C locale conversion */for (cp=string; *cp; ++cp){if ('A' <= *cp && *cp <= 'Z')*cp += 'a' - 'A';}return(string);} /* C locale */_lock_locale( local_lock_flag )#if defined (_MT)if (__lc_handle[LC_CTYPE] == _CLOCALEHANDLE){char *cp; /* traverses string for C locale conversion */_unlock_locale( local_lock_flag )for (cp=string; *cp; ++cp){if ('A' <= *cp && *cp <= 'Z')*cp += 'a' - 'A';}return(string);} /* C locale */#endif /* defined (_MT) *//* Inquire size of dst string */if (0 == (dstlen = __crtLCMapStringA(__lc_handle[LC_CTYPE], LCMAP_LOWERCASE,string, -1, NULL, 0, 0, TRUE)))goto error_cleanup;/* Allocate space for dst */if (NULL == (dst = (unsigned char *) _malloc_crt(dstlen*sizeof(unsigned char))))goto error_cleanup;/* Map src string to dst string in alternate case */if (0 == __crtLCMapStringA(__lc_handle[LC_CTYPE], LCMAP_LOWERCASE,string, -1, dst, dstlen, 0, TRUE))goto error_cleanup;/* copy dst string to return string */strcpy(string, dst);error_cleanup:_unlock_locale( local_lock_flag )_free_crt (dst);return (string);#else /* defined (_WIN32) */char * cp;for (cp=string; *cp; ++cp){if ('A' <= *cp && *cp <= 'Z')*cp += 'a' - 'A';}return(string);#endif /* defined (_WIN32) */}WR.C

胡子哥哥

这个在计算机的文件中是没有的,因为这些函数是以库的方式提供的
打开App,查看更多内容
随时随地看视频慕课网APP