I eat a normal meal about 2 hours before i go to the gym. I try to stay around 40%carbs 40%protein and 20%fat. I am not very strict with what i eat though to be honest. I make a shake with creatine, WMS(waxy maize starch)(this is just carbs), and whatever drink mix i prefer and drink it during and after my workout. About 15 min after i hit up some whey protein about 50ish grams. Finally about 1-2 hours after i make sure to eat another meal maintaing aroun the 40/40/20 ratio.
But diet has to be altered for if you are gaining(bulking) or losing(cutting) weight. So what are your goals?