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"; //
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 *'
Re: error C2440
How is A defined?
|All times are GMT +5.5. The time now is 15:19.|