int NXT_BLNK(char* str, int pos){ if (pos<0) return -1; for(int i= pos; str[i]; ++i) if (str[i] == ' ') return i; return 0; }