If you're using at least Windows 7, you'll want to download the Windows SDK for Windows 8.1. It includes DirectX, and supports Visual Studio 2013.
Visual Studio 2013 may (depending on your install) include parts of the Windows SDK already, so you may want to make sure you don't already have DirectX headers/libraries installed.