Not all scenes average out to middle grey. Let's take a look at some of the most common situations where your automatic exposure system will have problems and you'll need to override the suggested exposure settings.
Most digital cameras provide ways to override the automatic exposure system to get the exposure you want. The most common choices are exposure compensation, exposure lock, or autoexposure bracketing.