' ' | (0x20) | space (SPC) |
'/t' | (0x09) | horizontal tab (TAB) |
'/n' | (0x0a) | newline (LF) |
'/v' | (0x0b) | vertical tab (VT) |
'/f' | (0x0c) | feed (FF) |
'/r' | (0x0d) | carriage return (CR) |
本文共 1092 字,大约阅读时间需要 3 分钟。
检查空格字符
#include <ctype.h>
int isspace ( int c );
' ' | (0x20) | space (SPC) |
'/t' | (0x09) | horizontal tab (TAB) |
'/n' | (0x0a) | newline (LF) |
'/v' | (0x0b) | vertical tab (VT) |
'/f' | (0x0c) | feed (FF) |
'/r' | (0x0d) | carriage return (CR) |
memcpy实现:
转载地址:http://fentb.baihongyu.com/