Anyone know how to do this? In borland, I just use stdlib.h, but that doesnt work in VC++6. Heres an except of what I did:
void GetInts(int highNum, int & x, int & y)
{
randomize();
x=(random(highNum)+1);
y=(random(highNum)+1);
}
Works fine in Borland, but not in MSVC++.
void GetInts(int highNum, int & x, int & y)
{
randomize();
x=(random(highNum)+1);
y=(random(highNum)+1);
}
Works fine in Borland, but not in MSVC++.