What should you eat for exercising, and when?

Eat only a handful of lollies or a 600ml carbohydrate sports drink during actual exercise