Original Post
I have this (badly written I know) line of code that simply cannot compile could someone help me, every variable is an integer.
TemporaryMap[XCounter][YCounter]=CurrentMap[XCounter/2][YCounter] * HeightModifier / 100 + CurrentMap[XCounter/2+1] * (0 - HeightModifier) / 100;
The error message is : Invalid Operands ''int[256]'' and ''int'' to binary ''operator *''
[256] is the size of all arrays
Read, Code, Read code (& the K&R)