See More

#include "Cstring.h" bool isDigit(char c) { if(c>='0' && c<='9') return true; return false; } bool isLetter(char c) { if((c>='a' && c<='z') || (c>='A' && c<='Z')) return true; return false; } bool isSpace(char c) //maybe don't need { if(c==' ') return true; return false; } int charToInt(char c) { int num=0; if(isDigit(c)) num=c-'0'; return num; } unsigned int strLen(const char *s) { int i; for(i=0;*s!='\0';i++,s++); return i; } void append(char* d, const char* s) { char* dWalk=d+strLen(d); for(;*s!='\0';dWalk++,s++) *dWalk=*s; *dWalk='\0'; } void append(char* d, const char* s, int len) { char* dWalk=d+strLen(d); for(int i=0;*s!='\0' && i