wait, that doesnt work, the way i fixed was uncommented the definitions. So this only works when b and w is definied twice?
*cough*vug*cough* I am using latest version of vs2003
Type: Posts; User: Dan911
wait, that doesnt work, the way i fixed was uncommented the definitions. So this only works when b and w is definied twice?
*cough*vug*cough* I am using latest version of vs2003
I fixed it, apperently i had to define b and w outside the function, but shouldnt local varieables be able to be used inside that if statement?
// some loser chess game
#include "iostream"...
i have been trying things for days now, can someone please help me?
no, can you help me? can anyone else compile this?
the proglem is in game on line 75 9if (b == 1 && w == 1))
OK this is the code i typed typed into vs2003, it worked on another computer but not my current one. I get the following error:
Run-Time Check Failure #3 - The variable 'b' is being used without...
thank you all so much :)
The following compiles in msvc++ 6 but on in vs203, any ideas?
// some loser chess game
#include <iostream>
#include <math.h>
using namespace std;
in making my simple chess game, i used this to make a 1d array a 2d array
int fun(int x, int y)// najes 1d array 2d array
{
return (8*y+x);
}