Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Isowave

Win32 and DirectX, the pure C++ way?

This topic is 6936 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

I know how to set up a window and do direct draw stuff in win32 using purely C language. Is there not a purely C++ way to do it? I''m sure there are, because you can use directx with MFC, but I just don''t know how. I don''t want to use MFC because it is basically useless for anything other than windowed applications. I just don''t know where to find a site, or a book that covers this... all the stuff I have does it the same ol''way, and I''d like to implement classes instead of structs... Anyone know where I can find this type of thing?

Share this post


Link to post
Share on other sites
Advertisement
I''m not quite sure what you mean but I think I have something similar to what your talking about. It''s a directX wrapper that uses classes, mail me if you would like the source code.

Share this post


Link to post
Share on other sites
Of course there''s a "pure C++ way": Create your own classes which handle all you need in your application like the Microsoft programmers did it for windowed applications when they coded MFC.

Visit our homepage: www.rarebyte.de.st

GA

Share this post


Link to post
Share on other sites
I understand... I think the main thing that gets me in programming is the lack of doing... I can understand concepts easily, but when I go to do them it seems like I don''t know how... but deep down I really do. Is it beneficial to use classes for directx, and win32? does it make things easier later on?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!