Very Important,please reply.

Started by
15 comments, last by Stranger 21 years, 4 months ago
quote:Original post by Stranger
Also,from what I''ve reading DX9 will use C# apart from C++ to write code.


if you''re asking, "will dx9 support c#" then yes. if you''re suggesting
that directx 9 will generate c# code when you use it, you''re mistaken.
directx (when using the HAL, which you should be doing anyway)
communicates directly with your hardware.

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

-eldee;another space monkey;[ Forced Evolution Studios ]
Advertisement
quote:Original post by Stranger
What is Managed C++ by the way and how this affect the game community.

you can chose the programming language in which you want
to develop for the .NET platform either C#,C++ or COBOL..

quote:
Also,from what I''ve reading DX9 will use C# apart from C++ to write code.Anyone knows more about this?

The use of dx9 in the .NET platform is the same as the
use of the existing graphics apis for the Java platform,
just to enable graphics programming in the .NET platform.
You could also write dx9+c++ programs which run on .NET
(managed code)

Ok I know that DX9 is not officially out yet but do you know where can I find a book or a site that has example code?
quote:Original post by Stranger
Ok I know that DX9 is not officially out yet but do you know where can I find a book or a site that has example code?


I''ll trade you a DX9 tutorial for a Dividing-By-Zero tutorial.


-Ryan "Run_The_Shadows"
-Run_The_Shadows@excite.com
-The Navidson Record! The best film you''ll never see!
Is it true that DX9 would be easier to code?
quote:Original post by Run_The_Shadows
I''ll trade you a DX9 tutorial for a Dividing-By-Zero tutorial.


I''ll take that swap, here''s your tutorial:

// Do this:
int x = 1, y = 0, z = 0;
// Now do this:
z = x / y;
// Boom!!!


:D
I found a good assembler tutorial:

// Divide by zero
div ax,0 //crash here elegantly

it''s only 2 bytes of code and works flawlessly.

This topic is closed to new replies.

Advertisement