I'll assume you #include <iostream> in "stdafx.h". Other than that, you are trying to define a 2 d array with a 0 value...
int i,j,a[0][5],n,m,min;
You need a value greater than 0. Also, if you try to use 1 for the value, that's how a regular one-dimension array in c++ behaves, so it would just be better to use a one dimension array.
Also, you said you are creating a 2D array of "real numbers double precision". All of the values you have here are integers.
If you want double precision floating point numbers in this guessing game, you could design it that way, but your game would be insanely hard.