i normally have multifile proejcts in which there are many couts which dump iinformation to the terminal and often times i forget which file contains those cout statements. to take care of that i have begun putting cout statements with a modification as below:
cout << __FILE__ << endl ;
cout << “blah blah blah” << endl ;
that way i know which file is producing the texts on the terminal.