Convert C into Arduino Uno 3

char	ControlTable[];
	for(int i=24; i<56; i++) 
          ControlTable[i] = 0;

That's not going to go well.

Where did you get this code?

SlopeTable[] = {0, 1, 2, 5, 11, 22, 45, 90, 181};

Datatype?

TempTable[] = {125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, 121,

Again.