All pastes #392840 Raw Edit

Unnamed

public cpp v1 · immutable
·published 2007-03-13 03:12 UTC
rendered paste body
Int countChars(Const char* pString, char cCheck){	char* p = pString;	Int instances = 0;	Int inc = 0;		While(*p != '\0')	{			*p = pString + inc;		inc ++;		If *p = cCheck 			instances++;	}		Return instances;	}