this is about all the help i can give you, maybe someone else will helpout. did you write the code in the block form like that? don't forget code tags next time.
Code:
#include <didyouforgetsomething.h>
#include
#include
int main()
{
ifstream infile ("/u3/svlasnik/values"); //is that really the filename
const int size = 6;
int array[size] = { 0 };
for ( int x = 0; x < size ; x++ ) //a cerr used here
infile >> array[x];
int *bucketData;
*bucketData = array[size - 1];
for(int i = 0; i < array[size - 1]; i++)
{ bucketData[i] = (rand() % 1000) / 1000.0; //:confused:
for ( int x = 0; x < size ; x++ )
} cout << "Look, here's value " << x << ": " << array[x] << endl;
return 0;
}