Jump to content

  • Log In with Google      Sign In   
  • Create Account


winapi and directx


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 markrodgers11   Members   -  Reputation: 149

Like
0Likes
Like

Posted 05 October 2012 - 05:31 PM

I'm currently learning C++ and am planning to move on to WINAPI and DirectX10 next but I'm wondering how much C++ I need to know before moving on to WINAPI and how much WINAPI I should know before moving on to DirectX10?

Any answers are appreciated.
Sorry if I posted in the wrong place, I'm not here and this is my first post :P

Sponsor:

#2 riverreal   Members   -  Reputation: 616

Like
0Likes
Like

Posted 05 October 2012 - 06:27 PM

Beginnner-Intermediate C++ level to move on to directx.
You should know and be familiar with the language syntax. And you should know about the basic OOP (Object Oriented Programming) and some knowledge of objects created dynamiclly, so you should know about pointers too. But if you want you can just omit the pointers.

Then you learn the winapi very basics, to create a simple window and no more. You don't need to learn stuff like menus, bottons, etc. Just the window part.
When you know the basics about winapi go to directx. I prefer directx 11, but is your decision.

This is my opinion, and probably not the best way to begin (?)

#3 clb   Members   -  Reputation: 1778

Like
0Likes
Like

Posted 05 October 2012 - 07:14 PM

I recommend taking a goal-based approach. In my development career, I've never taken the approach "now I'm going to learn WINAPI/API x". Instead, I've just decided I want to do X, and then figured out what is required to achieve that. There is no need to lean APIs by heart, instead learning "if I want to do X, I must utilize Y" is a better route.
Me+PC=clb.demon.fi | C++ Math and Geometry library: MathGeoLib, test it live! | C++ Game Networking: kNet | 2D Bin Packing: RectangleBinPack | Use gcc/clang/emcc from VS: vs-tool | Resume+Portfolio | gfxapi, test it live!

#4 markrodgers11   Members   -  Reputation: 149

Like
1Likes
Like

Posted 05 October 2012 - 08:20 PM

both really useful replies! thanks :)
@riverreal thanks, i thought id need to know like all of winapi to go on to directx :P okay so ill go with directx11 cause its more up to date and stuff, although wont i need to check to make sure my card is compatible with directx11?
@clb yeah, tbh, thats how I've done alot of my previous programming ;p

#5 MJP   Moderators   -  Reputation: 10547

Like
0Likes
Like

Posted 05 October 2012 - 11:26 PM

okay so ill go with directx11 cause its more up to date and stuff, although wont i need to check to make sure my card is compatible with directx11?


DX11 can be used with DX10-level video cards using feature levels. A DX10 video card will support FEATURE_LEVEL_10_0 as its highest feature level, which basically gives you the same functionality available in DX10.

#6 markrodgers11   Members   -  Reputation: 149

Like
0Likes
Like

Posted 06 October 2012 - 10:15 AM


okay so ill go with directx11 cause its more up to date and stuff, although wont i need to check to make sure my card is compatible with directx11?


DX11 can be used with DX10-level video cards using feature levels. A DX10 video card will support FEATURE_LEVEL_10_0 as its highest feature level, which basically gives you the same functionality available in DX10.


oh okay awesome, thanks!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS