library/src/blockclass/subclasses/BP_StringUtils.cc
// simple mechanism for displaying unique strings
simple mechanism for displaying unique strings
simple mechanism for displaying unique strings
BP_ERROR_T BP_StringUtils::DisplayUniqueStrings()
{
	if(!this->unique_str_cnt)
		return ERR_FAILURE;
	size_t n = 0;
	for(; n < this->unique_str_cnt; n++)
	{
		printf("\n%s", this->unique_strings[n]);
	}
	return ERR_SUCCESS;
}
BP_ERROR_T BP_StringUtils :: DisplayUniqueStrings ( ) { if ( ! this -> unique_str_cnt ) return ERR_FAILURE ; size_t n = 0 ; for ( ; n < this -> unique_str_cnt ; n ++ ) { printf ( " \n " , this -> unique_strings [ n ] ) ; } return ERR_SUCCESS ; }
simple mechanism for displaying unique strings
simple mechanism for displaying unique strings
// iterate through the unique strings stored // return indicating success