src/tool-extract.cpp
int Tool_extract::isInList(int number, vector<int>& listofnum) {
	int i;
	for (i=0; i<(int)listofnum.size(); i++) {
		if (listofnum[i] == number) {
			return i+1;
		}
	}
	return 0;

}
//////////////////////////////
//
// Tool_extract::isInList -- returns true if first number found in list of numbers.
//     returns the matching index plus one.
//
:isInList -- returns true if first number found in list of numbers.
returns the matching index plus one.
: isInList -- returns true if first number found in list of numbers . returns the matching index plus one .
int Tool_extract::isInList(int number, vector<int>& listofnum) {
	int i;
	for (i=0; i<(int)listofnum.size(); i++) {
		if (listofnum[i] == number) {
			return i+1;
		}
	}
	return 0;
}
int Tool_extract :: isInList ( int number , vector < int > & listofnum ) { int i ; for ( i = 0 ; i < ( int ) listofnum . size ( ) ; i ++ ) { if ( listofnum [ i ] == number ) { return i + 1 ; } } return 0 ; }
Tool_extract::isInList -- returns true if first number found in list of numbers.
Tool_extract :: isInList -- returns true if first number found in list of numbers .