Computer Science Canada

dev-cpp questions and directx book recommendations?

Author:  michaelp [ Thu Jan 03, 2008 6:29 pm ]
Post subject:  dev-cpp questions and directx book recommendations?

Okay, I have 2 questions to ask you guys.

1. I know that Dev-Cpp is not getting updated anymore, but I am still using it because I tried to set up DX with Code::Blocks, and I could not get it working. I DID get it working with Dev-Cpp which I am why I am still using it.
My question, is that since Dev-Cpp using MinGW/Gcc compiler, could I download the latest version of MinGW and the C++ compiler part of it, then replace all of the files in my Dev-Cpp directory, so it would be updated?

2. I'm about to learn DirectX, does anyone know any good book recommendations for learning DirectX 9? And is "Beginning DirectX 9" a good book for learning it?

Thanks.
-michaelp Very Happy

Author:  Mazer [ Thu Jan 03, 2008 7:27 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

I've never learned DirectX, but is there any reason you don't want to learn XNA instead?

Author:  md [ Thu Jan 03, 2008 7:30 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

I do not know how dev-cpp works; and I have never heard of Code::Blocks (unless you mean namespaces or classes or some such). However, if it's supported by G++ then installing a newer version should work fine.

I recommend ditching Dev-Cpp anyways, as it was NEVER good. A good text editor with syntax highlighting and tabs and a command line is much better.

Author:  michaelp [ Thu Jan 03, 2008 8:39 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Code::Blocks

I don't see what's so bad about Dev-Cpp; mind filling me in?

And I'm not really sure what XNA is... Razz

Author:  rdrake [ Thu Jan 03, 2008 8:53 pm ]
Post subject:  Re: dev-cpp questions and directx book recommendations?

Microsoft's answer to hobbyists wanting to create games is the XNA Game Studio.

Dev-C++ really isn't that great of an IDE. Why? Try some others and you'll see why. If you chose to check out XNA, you'll be using Visual Studio Express anyways.

Author:  michaelp [ Thu Jan 03, 2008 9:12 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

I've tried Code::Blocks as an IDE. Would have kept using it except I couldn't get DirectX working with it. Wasn't anything that was particularly better than Dev-Cpp. Also tried wxDev-Cpp, didn't like that too much, so went back to Dev-Cpp.

The only other IDE's I have heard of are those Microsoft ones, which I haven't heard good review of. Except for one, which was supposed to be okay.

Author:  md [ Thu Jan 03, 2008 10:50 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Visual Studio is an amazing IDE. Microsoft was first and for most a programming language company; and their tools are (usually) excellent. Aside from Visual Studio 6, Visual Studio is the best IDE I have ever used.

Code::Blocks looks like it might be interesting too; but your choice of IDE should have absolutely nothing to do with getting your program working. If there are any differences it would be in how the IDE finds dependencies for you, such as libraries to link against. That can easily be fixed by using makefiles.

I've actually recently started using Anjuta; but I haven't used it enough to make any judgments about it.

Author:  michaelp [ Fri Jan 04, 2008 4:51 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

I'm still gonna use Dev-Cpp; it compiles and runs my programs, I have DirectX set-up with it, and I can always update it with the lastest version of the MinGW compiler.

Anyways, does anyone know of any good DirectX books?

Author:  md [ Fri Jan 04, 2008 6:00 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

MSDN. You can't beat Microsoft's own documentation (or you couldn't last I looked).

Author:  michaelp [ Fri Jan 04, 2008 8:22 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Of course you can, you beat it with books!

Author:  Junkhead [ Fri Jan 04, 2008 8:44 pm ]
Post subject:  Re: dev-cpp questions and directx book recommendations?

Dev-cpp may not be the best, per se, but it's at least decent. It doesn't have many bells and whistles or anything like that though. If you want portable code though, I recommend you steer clear of platform dependent libraries like XNA or DirectX.

Author:  michaelp [ Fri Jan 04, 2008 8:49 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

I don't need any IDE with bells or whistles. Razz
As long as it compiles what I need it to, and works with what I need it to, it's a good IDE. Very Happy

Yeah, DirectX is only for Windows, but I have only ever owned a Windows OS and it's more than just a grahpics API. If I learned OpenGL, I'd probably need to learn 1 or 2 more libraries.

Author:  Junkhead [ Sun Jan 06, 2008 12:12 am ]
Post subject:  Re: dev-cpp questions and directx book recommendations?

Yep, just making sure you understood. DirectX is mighty fine I hear nowadays, I've never used it myself, however.

Author:  CodeMonkey2000 [ Sun Jan 06, 2008 2:43 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Personnally I think you should be using textpad or scite and compile from command line. You won't be spoon fed by the IDE. As for learning directX google "directX tutorials". There are a plethora of decent sites.

Author:  michaelp [ Sun Jan 06, 2008 8:28 pm ]
Post subject:  Re: dev-cpp questions and directx book recommendations?

Go spoon-feed my bum. Mr. Green Razz
IDE's are the future of all programming languages. Surprised

Author:  md [ Mon Jan 07, 2008 12:33 am ]
Post subject:  Re: dev-cpp questions and directx book recommendations?

michaelp @ 2008-01-06, 8:28 pm wrote:
Go spoon-feed my bum. Mr. Green Razz
IDE's are the future of all programming languages. Surprised


You sir are an idiot. IDEs ca nhelp make developig easier, however they shouldn't have anything to do with the language, nor are they the future.

Author:  michaelp [ Mon Jan 07, 2008 5:20 pm ]
Post subject:  Re: dev-cpp questions and directx book recommendations?

No need to call me an idiot. Shocked I'm only thirteen. Smile

Author:  Tony [ Mon Jan 07, 2008 5:55 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

I guess we can't pick on Amailer for being the youngest anymore Laughing

Author:  CodeMonkey2000 [ Mon Jan 07, 2008 6:27 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Those damn thirteen year olds!!! Arrg!

Author:  md [ Mon Jan 07, 2008 7:20 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

*sigh* I keep getting older, and the young keep getting younger.

I say we beat them up until they are older.

Author:  Clayton [ Mon Jan 07, 2008 7:31 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Solid plan. However, this is getting rather offtopic, no?

Author:  michaelp [ Mon Jan 07, 2008 7:58 pm ]
Post subject:  RE:dev-cpp questions and directx book recommendations?

Well, yeah it is. I thought that was supposed to happen to topics.
If someone recommends a DirectX book, it will get back on topic. Very Happy

Oh yeah, don't beat the kids!


: