Help the error states:
.cpp(31) : error C2337: 'count' : attribute not found
referring to new[count] = value; as the problem.
My code is the following:
int main()
{
int size = 20;
new double[size];
for(int count = 0; count <= size; count++)
{
int value;
cout << "Enter a value for element #" << count << " : ";
cin >> value;
new[count] = value;
}
return 0;
}