error C2440

Go4Expert Member
22Feb2009,14:31   #1
icechef's Avatar

cout <<
"What specification would you like to view "; // Displays A Task Title.
cin >> Z; // Stores Entered Values.
A = new (nothrow) int[Z]; //
if (A == 0) //
cout << "Error"; //
else
for (Y=0; Y<Z; Y++) //
cout << A [Y]<< ""; //

keep getting this error and just cant work it out any pointers its to do with the 3rd line down

error C2440: '=' : cannot convert from 'int *' to 'int *[10]'

Mentor
23Feb2009,00:20   #2
xpi0t0s's Avatar
How is A defined?