All pastes #556540 Raw Edit

dungodung

public c v1 · immutable
·published 2007-06-10 17:02 UTC
rendered paste body
// podrazumeva se da je ulaz tipa FILE*, DUZ neka int kostanta, priv tipa char[DUZ], a eol tipa char*while(fgetc(ulaz)!=EOF){ if (!fgets(priv, DUZ, ulaz)) return 1; if ((eol=strchr(priv, '\n'))!=NULL) *eol="\0"; for(i=0; i<strlen(priv); i++) {  /* obrada */ }}