about c, c++, and c++/cli

J

Jordi Maycas

Is C++/CLI the present and the future of software development?

I am using C, from 15 years ago, and now I would like to learn something
about directx, games and so on, and I am wondering if I could use a C++/CLI
using directx and make a game using .net 2005-2008 for example.

Any book to read about that, pdf...?
 
B

Ben Voigt [C++ MVP]

Jordi Maycas said:
Is C++/CLI the present and the future of software development?

Not so much for directx, where you don't want the garbage collector running
at random times and dropping frames/causing jitter in network latency.
 
S

Sheng Jiang[MVP]

C++/CLI is for .Net programming. If you are using the XNA framework, you
need to use C++/CLI . Microsoft does not control C/C++'s future. They are
standardized languages.
 
J

Jordi Maycas

So, future game's, may be is:

a. XNA Framework based.

b. Only with directX sdk (or OpenGL), and ..... pure C++ (VC++6 style based)
without XNA FrameWork.

The big problem in games is, ¿is XNA Framework suitable for doing actual
games? Games such as Quake,Doom, only uses OpenGL/DirectX, and their code is
suitable for Windows/Mac/Linux/Solaris with a little changes in it.
 
B

Ben Voigt [C++ MVP]

Jordi said:
So, future game's, may be is:

a. XNA Framework based.

b. Only with directX sdk (or OpenGL), and ..... pure C++ (VC++6 style
based) without XNA FrameWork.

The big problem in games is, ¿is XNA Framework suitable for doing
actual games? Games such as Quake,Doom, only uses OpenGL/DirectX, and
their code is suitable for Windows/Mac/Linux/Solaris with a little
changes in it.

If multi-OS support is important to you, go with standard C++ and either
OpenGL or SDL.

If you just want Windows and XBox, then use XNA Framework.

If you want XBox and multiple PC platforms, you're probably maintaining two
versions of the graphics code, although wine support for DirectX keeps
getting better.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top