⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cj_string.h

📁 堆栈等代码
💻 H
字号:
/*****************************************************************************/
/*                                                                       	 */
/*  文件名:CJ_STRING.H                                                  	 */
/*  创建人:徐攀峰                                                         	 */
/*  日  期:2005/01/10                                                    	 */
/*  描  述:字符串处理函数组包含文件                                         */
/*                                                                       	 */
/*                                                                       	 */
/*  修改人:彭勃                                                             */
/*  日  期:2005-05-21                                                       */
/*  描  述:修改了不符合规范的代码格式                                       */
/*                                                                       	 */
/*  修改人:彭勃								                             */

/*  日  期:2005-05-26								                         */

/*  描  述:修改了注释格式和代码格式								         */
/*****************************************************************************/

#ifndef CJ_STRING_H
    #define CJ_STRING_H
    
    #ifdef __cplusplus
    	extern "C"
    	{
    #endif
    
    #include "cj_define.h"
    #include "cj_errmanager.h"
    
    /*删除字符串结尾的空格*/
    extern void CJSTRTrim(char * v_str);
    /*删除字符串开头的空格*/
    extern void CJSTLTrim(char * v_str);
    /*删除字符串头、尾的空格*/
    extern void CJSTAllTrim(char * v_str);
    /*通过在字符串结尾添加空格,扩展字符串到指定长度*/
    extern void CJSTRPad(char * v_str,int v_cnt);
    /*通过在字符串开头添加空格,扩展字符串到指定长度*/
    extern void CJSTLPad(char * v_str,int v_cnt);
    /*将字符串转换为大写*/
    extern void CJSTUpper(char * v_str);
    /*将字符串转换为小写*/
    extern void CJSTLower(char * v_str);
	/*删除字符串中所有空格*/
    extern void CJSTATrim2(char * v_str);
    #ifdef __cplusplus
    	}
    #endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -