Jump to content
  • Advertisement
Sign in to follow this  
The Rising Sun

How Much C++ ?

This topic is 3905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How much C++ should I know in order to begin learning Direct X? I am already very comfortable in object oriented analysis and design, and understand the fundamentals of functions. Thanks

Share this post


Link to post
Share on other sites
Advertisement
You don't have to learn them sequentially. You can learn both at the same time.

If you work your way through DirectX tutorials you're enhancing your C++ skills as well.

Share this post


Link to post
Share on other sites
Assuming you have the DXSDK downloaded and installed, load up the tutorial code (there are 6 for D3D9). If you can read through that and know what's going on and why then you know enough C++ [smile]

If you keep scratching your head wondering what X is all about then you don't know enough and you should either research that aspect or keep practicing 'pure' C++...

hth
Jack

Share this post


Link to post
Share on other sites
You don't need to know that much, but the more familiar you are with it, the easier things will be, especially when something goes wrong.

Share this post


Link to post
Share on other sites
It might be useful to learn some W32 API first though, because you will most likely have to launch your own window, receive events or something like it (unless you use DXUT, but nevertheless, learning W32 API can become very useful).

Share this post


Link to post
Share on other sites
Boo platform specific code, yay cross platform code, OpenGL + SFML, simplifies TONS of tasks and will compile for any platform :)

Platform specific code is sssoooo 2001 ;)

Learning the Win32 API when your just starting out sounds like suicide to me. I'm an experienced programmer and I get the chills when I look at that mess. SFML makes opening a window and capturing input a BREEZE. All nice and modern C++ too.

Share this post


Link to post
Share on other sites
Quote:
Original post by Wavesonics
Boo platform specific code, yay cross platform code, OpenGL + SFML, simplifies TONS of tasks and will compile for any platform :)

Platform specific code is sssoooo 2001 ;)

Learning the Win32 API when your just starting out sounds like suicide to me. I'm an experienced programmer and I get the chills when I look at that mess. SFML makes opening a window and capturing input a BREEZE. All nice and modern C++ too.


Isnt this sort of off-topic for a DirectX forum?

Anyhow, there's very little Win32 API you need to read up on just for DX,
creating a window and handling messages is just about it.

www.winprog.org got some tutorials :)

Share this post


Link to post
Share on other sites
Quote:
Original post by jollyjeffers
Assuming you have the DXSDK downloaded and installed, load up the tutorial code (there are 6 for D3D9). If you can read through that and know what's going on and why then you know enough C++ [smile]

If you keep scratching your head wondering what X is all about then you don't know enough and you should either research that aspect or keep practicing 'pure' C++...

hth
Jack

Yup the DX SDK comes with alot of sample code in the dx sample browser. Just install the sample project files like Jack said and look it over and if you can't follow a majority of it then you need more practice because tutorial 1 is the simplest DirectX program you can make!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!