Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   error C2440 (http://www.go4expert.com/forums/error-c2440-t16297/)

icechef 22Feb2009 14:31

error C2440
 

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]'


xpi0t0s 23Feb2009 00:20

Re: error C2440
 
How is A defined?


All times are GMT +5.5. The time now is 08:21.