case.txt
资源名称:DOS系统的源代码.rar [点击查看]
上传用户:xiaoan1112
上传日期:2013-04-11
资源大小:19621k
文件大小:1k
源码类别:
操作系统开发
开发平台:
Visual C++
- SUMMARY lower upper MakeStr
- #include <tools.h>
- char *lower(pstr)
- char *pstr;
- char *upper(pstr)
- char *pstr;
- DESCRIPTION
- lower and upper convert the string to lower and upper case.
- RETURN VALUE
- Return a pointer to converted string.
- IMPLEMENTATION
- Calls strlwr and strupr from C library.
- SEE ALSO
- NOTE
- EXAMPLE
- #include <tools.h>
- char str[] = "Mixed Case String";
- main(c, argv)
- int c;
- char *argv[];
- {
- char *pstrLower = lower(MakeStr(str));
- char *pstrUpper = upper(MakeStr(str));
- printf("%sn%sn%sn", str, pstrLower, pstrUpper);
- }