Students struggle in schools hit by heat wave