檢查空格字符
#include <ctype.h>
int isspace ( int c );
http://www.cplusplus.com/reference/clibrary/cctype/isspace/
' ' | (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實現: