Generally speaking you want to carry lightweight food that is quick and easy to prepare with a limited amount of mess. There are dozens, perhaps hundreds, of good trail cookbooks on the market. Avoid foods that are packaged in cans or glass bottles, or that need refrigeration if you are hiking in the summertime. Just use common sense, keep the weight down, and you can often eat the same foods that you do at home. Look through some of the trail cookbooks at your local outdoor store for ideas.