-
direct3d in C
i've looked around, and most of the online and offline(library books) resources on direct3d i can find usually use visual c++, c++, c#, but i've yet to find anything on C. since i've been using C, i rather get used to it rather than learn something new and leaving what i learned behind.
i'm not really trying to program games or anything complicated, i just want to do simple things in 3d.
does anyone know some sites that offer basic guides on direct3d programming in c? (googling with the keyword "c" can get very annoying after a while)
-
download the sdks from microsoft -- they contain a lot of examples in C. c++ language does not toss C to the wind -- c++ is built on top of C with only a few minor changes to C. So most of what you learned with be available in c++ too.
-
except all the tutorials expect me to be using visual c++, thus starting the "let's begin" with how to create a win32 application. how am i supposed to do something like that with plain c? i've never done graphics in my programming before, and i've been using turbo c to compile my programs ever since i started learning. i just... don't know where to start.
-
direct3 is not intended for beginnings -- you are expected to already know how to write a windows gui program. There are lots of books and tutorials about windows prgramming, here is one of the best tutorials. It doesn't teach one thing about direct3 either, but gets you started learning win32 programs, and its all written in C. No C++ required.
you cannot use turbo c compiler for either direct3 or win32 programs. you need to upgrade to a newer compiler, such as Dev-C++
-
damn man, thanks! something to keep me occupied for a while longer, yippee~
i'll come back here if i need anymore help.
-
You don't have to know GUI to do DirectX. Get a book from amazon.