This is the code for the Knights Tour for the Deitel & deitel exercise.
CAN ANYONE HELP ME AND TELL ME WHY IT DOESN'T GO TO NEXT VALUES?
#include <iostream>
#include <time.h>
#include <stdlib.h>
#include <iomanip.h>
int main()
{
// Initialise the board array
int board[8][8]={0}...
I have an array which is as follows:
1 2 8
-1 -2 3
-1 1 4
-2 -1 2
I wan to do a search for the smallest value according to the last column. IOW I want to select 2 and return the values -2,-1.
Thanks for the help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.