Yes kind of , i will post tomorrow as i must rest now. Thanks for you help..... if i struggle to understand this any further i will post again...... :)
Type: Posts; User: jeev2005
Yes kind of , i will post tomorrow as i must rest now. Thanks for you help..... if i struggle to understand this any further i will post again...... :)
thats where i was getting confused ok so once it fulfils the criteria it returns to 2...... why is this is this just the way the recursion works?
Really Appreciate you response!
Thanks
Hi,
Below i have pasted the code, now i understand that this is a recursive algorithm however when i step through this im really confused .
I understand that the Scale (5) line states the...
Here with the Header File
#include <arpa/inet.h>
#include <fcntl.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <netdb.h>
#include <netinet/in.h>
Heres the code so far... i've implemented the 2D Array but it doesnt seem to do what i want it to do :(
#include "othello.h"
/*Declare The Two Players*/
int row,col;
int playerturn = 1;...
I forgot this is for the game Othello!
I am set the task of writing part of a C program that will check if the user can move or not.
The program would use a 2d array
arrBoard[8][8]
and counters
#define EMPTY_SQUARE "E"
#define...
Would i be right in thinking the recursive function keeps looping from the value 9 until the value = 2!
there for 8,7,6,5,4,3,2 < it takes 7 steps for it to do this 9+7 = 16
I realise i have alot to learn the answer is 16. Thing is i do not understand how the recursive function gets this result?
Jeev
Ok, ive been given a sample test and this is really confusing me could someone explain how this works?
Many Thanks
Jeev
Q9
What is the signature of the following function definition?
hi all,
i have a file that its a .dat file ok it contains approximately 300 number values, each number value is either a 2 , 3 or 4 digit number like this..
11 111 1678 1334 1445 1335 1225 72...