Directx questions

This is a discussion on Directx questions within the Game Programming forums, part of the General Programming Boards category; Are the directx libraries written in c or c++? Also, what systems does directx work on? I know they work ...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    266

    Directx questions

    Are the directx libraries written in c or c++? Also, what systems does directx work on? I know they work on windows but not sure about xbox or other game consoles.Does it come standard for windows?. Lastly, does anyone know some official or good books to learn directx from?

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Programming DirectX 9.0 for games is the best reference for learning i have found.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Moved to game programming forum.

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,627
    DX is available for Windows and Xbox 360 I believe.
    DX is built into Windows by default, yes. If a newer version comes out, you upgrade. Most games bundle DX with them.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    In the Land of Diddly-Doo g4j31a5's Avatar
    Join Date
    Jul 2006
    Posts
    476
    @Elysia: true, but that's just the runtime library. If you want to develop with DirectX, you must download the SDK from Microsoft's website.

    BTW, one DirectX (8.1 and 9) tutorial that I can think of is the one from http://www.codesampler.com. They also have OpenGL and HLSL tutorial IIRC.
    ERROR: Brain not found. Please insert a new brain!

    “Do nothing which is of no use.” - Miyamoto Musashi.

  6. #6
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,627
    Quote Originally Posted by g4j31a5 View Post
    @Elysia: true, but that's just the runtime library. If you want to develop with DirectX, you must download the SDK from Microsoft's website.
    Well you know you must have the SDK for anything you want to develop for
    If you want to go OpenGL, you'd still need the SDK, so...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Registered User
    Join Date
    Jul 2011
    Posts
    1
    Hello, sorry for resurrecting such an old thread, but I have a question about directx if you please, and didn't think I should start a new thread for it.
    My question is, why do games use such outdated versions of directx? I see games coming out in 2010-2011 that still come with directx 2008-2009 packages on the cd... Why don't they just use the latest?
    Thank you.

  8. #8
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,627
    You might have realized that DX10+ aren't supported on XP, and DX9 was released a long while ago.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Closed. Please don't bump old threads.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 3 DirectX questions
    By MadCow257 in forum Game Programming
    Replies: 4
    Last Post: 03-07-2005, 12:47 PM
  2. 2 questions in DirectX
    By X PaYnE X in forum Game Programming
    Replies: 4
    Last Post: 12-02-2004, 08:38 AM
  3. A Few questions, DirectX
    By St0rmTroop3er in forum Game Programming
    Replies: 1
    Last Post: 09-26-2003, 06:28 PM
  4. newb-ish DirectX questions
    By confuted in forum Game Programming
    Replies: 4
    Last Post: 07-06-2003, 08:14 AM
  5. Various DirectX questions
    By Hunter2 in forum Game Programming
    Replies: 6
    Last Post: 11-28-2002, 08:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21