Question

I am a beginning programmer university student and I want to apply myself outside of class with a side project. I wanted to start programming some simple directX stuff in C++ for practice and preparation for future classes.

However, I have Visual Studios 2013 installed and the DirectX SDK June version installed, and I can't seem to find any directX templates in visual studios. In tutorials I have watched, when a person goes into visual studios 2013 and clicks on "Visual C++", they have a lot more templates show up, including DirectX ones.

What step am I missing to be able to see these things in my Visual Studios 2013 professional?

Thank you in advance for the help!

Was it helpful?

Solution

There is no built-in templates for desktop DirectX, since you have installed the DirectX SDK, I recommend you use the Samples/Demos from the SDK(you can find it from DirectX Sample Browser), there is a sample called Empty Project, you can install that sample and write your code based on it.

enter image description here

OTHER TIPS

There are only templates for DirectX Windows Store Apps. I cannot remember if it ever was DirectX Desktop templates in Visual Studio. On a picture here you can see two default DirectX Windows Store Apps templates and new templates which you can to download.

Probably, in your tutorial there are some home made templates, or those which can be fond on a web. You can easily make your own template too.

If you really want to learn program for Desktop (and as you are trying to use DirectX SDK it is probably what you want), just follow the code that you can find in books and tutorials. Also it is a good idea not to copy any code, but to start your own projects(s) which will develop as long as you will develop your knowledge.

Note, that DirectX SDK was deprecated a while ago (latest version is dating June 2010). You must use Windows SDK for any new code. Though, you can compile old samples (which requires stuff not present in new SDK) with DirectX SDK. You could find interesting some of Q&A on that topic:

and this blog on MSDN by Chuck Walbourn - MSFT :

Happy coding! ;)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top