If you are using Firefox, you can modify the variable keyword.URL in about:config to point to DDG instead of Google. This also enables "bang syntax" in the firefox address bar.
For example, I can type "!cpp string::length" into the address box and be taken right to the reference page(s)
For example, I can type "!cpp string::length" into the address box and be taken right to the reference page(s)