All pastes #58417 Raw Edit

Miscellany

public text v1 · immutable
#58417 ·published 2006-05-23 18:41 UTC
rendered paste body
struct tmp{
  bool charset[256];
..
  void include(char ch){ charset[ch] = true;	}
..
}

tcharset tcharset_union(tcharset a, tcharset b){
tcharset tmp;		
	
	for (unsigned int i=0;i<256;i++){	
		if (a.checkchar(i) || b.checkchar(i)){ 
			cout << "union" << endl;
			//tmp.include(char(i)); 	
		}
	}
	return tmp;
}