[ create a new paste ] login | about

Link: http://codepad.org/KJWfpRhO    [ raw code | output | fork ]

hurracane - C++, pasted on Nov 17:
1
2
3
4
5
6
bool FilmData::findMedium(Medium& m) {
	// Find returns an iterator pointing to the set end (one beyond the last element) if the element isn't in the set
	if(media_.find(m) != media_.end())
		return true;
	return false;
}


Output:
1
2
Line 1: error: 'FilmData' has not been declared
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: