#include #include #include #include #include #include #include "PathFind.h" const int VELICINA_MAPE = 10; // Probna mapa... // gde su 1 neprohodne, a 0 prohodne int mapa[ VELICINA_MAPE ] [ VELICINA_MAPE] = { 0,0,0,0,0,0,0,0,0,1, // 00 1,0,0,0,0,0,1,1,1,1, // 01 1,0,1,0,1,0,1,0,0,0, // 02 1,0,0,1,1,0,1,0,1,0, // 03 1,1,0,1,1,0,1,0,1,1, // 04 1,1,0,1,1,1,1,1,1,1, // 05 1,0,0,1,1,1,1,1,1,1, // 06 1,0,0,0,0,0,0,1,1,1, // 07 1,1,0,0,0,0,0,0,1,1, // 08 1,1,1,1,1,0,0,0,0,0 // 09 }; int _tmain(int argc, _TCHAR* argv[]) { using namespace std; cin.tie( &cout ); // Popunjavam matricu (mapu) cvorova Cvor **map; map = new Cvor*[VELICINA_MAPE]; for(int i=0;i> i; return 0; }