I always try and eat 2 hours before any kind of exercise and make sure I am properly hydrated through the day... Usually eat jacket potatoes and beans as they are full of carbs and easily absorded into your system.
You have you give your body something to work with unless your trying to lose weight or something..
HTH
Martyn