PDA
$threadinfo[title]
-


zeus
November 26th, 2001, 23:57
After using Dev-Cpp 4.01 for quite a while now, Iīm beginning to look for other alternatives, since I have advanced in skill and is starting to move in other directions then pure C++. For learning other apis, i.e opengl and directx, which are neccesary for multimedia development, what are my alternatives?

I know that Ms Visual C++ 6.0 is the most accepted dev. environment for directx and Borland is more sutible for opengl usage. What other alternatives do I have and what are the pros and cons with these dev. environments. Also info and advantages and disadvantages with other compilers such as Watcom, DJGGP and other dev. solutions are welcome.

Iīm thinking of developing an emu, what alternatives do I have and in what direction should I go towards. For now Iīm thinking of a Z80 emu, are there any other simpler things such as calculators that one can emulate and where do I find info on these.

I would be helpful if someone with real knowledge could answer these questions and with links to more information.;)

Hacktarux
November 27th, 2001, 13:43
All the compilators I have tried can be used to program an opengl or directx application. Where is the difference ? Often, this is in the documentation included with the compilator. So, if, like me, you like to use alternate and free compilators you have to find documentations and/or library kits for your compilator.

OpenGL documentation is quite easy to find. The DirectX documentation can be consult directly on the official web site and can also be downloaded (I can't remember the adresses).

Watcom is a commercial compilator that seems not to be improve since years.
DJGPP is a gnu C/C++ compilator for DOS (It is like Dev-CPP but it is for DOS).

If you are familiar with UNIX environnements you can use Cygwin. It is a port of all the most common tools of found on UNIX systems.

One interesting thing (it's just my opinion...) is to programm OpenGL program under Linux with the SDL library and to use a cross compilator to compile for Windows. It works great but it's harder to program the GUI if you want to use standard windows widgets.

Hope this can help you in your choices :)

Cyberman
November 27th, 2001, 19:18
Actually Dev C++ uses the MingW compilor, there are some tutorials for using it with DirectX it's not the same as using VC++ etc. You can use GTK for building your user interface and then doing some linking into your main app. Obviously none of it's integrated.

I use Builder C++ 5.0 right now it's pretty fast for building apps. However this all boils down to.. what are you trying to do. :)

Cyb

zeus
November 29th, 2001, 21:49
Thanks for your replies, they cleared up a lot of things, but since my journey has just begun I donīt have the know-how or time to learn to program for another os, in this case linux, I have decided to continue with windows programming, Win32 API. Since I havenīt had any exp. with directx in Dev-C++ or any other compiler Iīm still not clear about what the difference is. I know that there are libs. for use with Dev-C++, or MingW since Dev-C++ is just the IDE, but what is the difference between VC++ and Dev-C++ in directx programming. I know that they differ, and Cyb, you wrote this in your post but in what way?

And what are pros and cons with SDL except for cross- os compatibility. And one last q, where do I obtain information about calculators, trivial chips et cetera?

And oh, I almost forgot does anyone know if zilmars Emubook is down. Since the official site is down, www.pj64.net, and they are using a mirror located at pj64.emulation64.com shouldnīt the most logical place for the emubook be mirrorsite/emubook. I have been unable to locate this great resource which most likely will come in handy.

Hacktarux
November 30th, 2001, 16:27
I find SDL very easy to use and well documented. For 3D it uses the OpenGL syntax. In fact all non 3D functions (2D graphics, sound...) of the SDL call directx functions in windows. So it is easier to use but it has good performances.
Unfortunately, there's probably difficulties to make a standard windows interface (I have not verified this).

The SDL is available at
http://www.devolution.com/~slouken/SDL
The documentation is readable on line.

VTT
November 30th, 2001, 18:34
If you want to write the qualitative emulator of the machine calculator, learn - asm: speed and quality.
-*-
Hey zeus;)

Cyberman
December 1st, 2001, 06:53
If you want to write the qualitative emulator of the machine calculator, learn - asm: speed and quality.

ASM == slow coding. :)
That's the big problem it's also highly non portable.. since you are coding for the Windows platform this isn't a big deal.

I know that there are libs. for use with Dev-C++, or MingW since Dev-C++ is just the IDE, but what is the difference between VC++ and Dev-C++ in directx programming. I know that they differ, and Cyb, you wrote this in your post but in what way?
DirectX libraries are different between DevC++ Borland Builder C++ and MS VC++ .. for example borland cannot use the Direct X libraries directly they have to be wraped. etc.

OpenGL is the simplest and easiest to learn from what I've seen.. directX is proprietary. The only draw back with OGL is .. sound.

Cyb