I have an array defined as;
static double Temp_data[TABLE_SIZE];
I want to change the size of the array according to the user input.
Use dynamic memory allocation.
int size; cin>>size int *ptr = new int[size];
http://www.cplusplus.com/doc/tutorial/dynamic/