Which practice of iteration through containers is preferred 
In the "real world" what kind of loop do most people use to iterate through a container like a vector.A loop like this...	Code:	for (int i = 0; i <
division gives infinity anser 
int main(){  int z=0;  int i=1/z;  cout<
writing my own sobel filter convolution - something is wrong 
I am trying to keep it very simple, I cant see anything wrong with my logic, could anybody help point me to the right direction?!!	Code:		{	int Shoriz
moving mouse to display image coordinates 
I have an existing MFC application that shows an image in the main window.I'd like to be able to move the mouse within that image & display the co