Have my code updated took a lot of things out to get the main program working will add them back in again when the game is working perfect the only problem I have now eith the code I have is my do...
Type: Posts; User: Pacina
Have my code updated took a lot of things out to get the main program working will add them back in again when the game is working perfect the only problem I have now eith the code I have is my do...
@copeg why is Tamilarasi getting an infraction for trying to help a member I asked how to do something that is not meant to be done in OOP so there wont be a tut on how to do it and Tamilarasi just...
Thanks will try that when I get home tonite and post back
now I just get errors but before I changed some things it ran through the first class then gave errors I'll get it back to that and post exact errors thanks for your time and advice talk tomorrow
There's only one array and it needs to be accessed from everything its a tic tac toe game and each class is the player placing their X or O on the board one class for player one and one class for...
Sound I think I know what to do I'll try that now and see how it goes
Thanks
Pacina
--- Update ---
Still don't get I though I understood what you are saying but I don't so I'll post the code...
Yeah I want to be able to access it from the main and the two classes do you have an example of the getter method never heard of that and the constructor as I haven't done anything with that yet.
Is...
At a quick glance I see your trying to use var mark before you declare it here
for(int i=0;i<marks.length;i++)
{
int mark = 0,test1,test2;
test1 = (15*test1[i])/100;
test2 =...
Hey I'm new to this site I joined because I have a problem with my code I don't know how to make a array global I have a main and two classes that all need to access the same array to read and fill...