[Closed] c++
Of course there’s a difference. One is managed, the other is not. The managed one needs an additional runtime for support routines. (Additional meaning, in addition to the C runtime, and Win32 subsystem runtime).
Anyway – you’re posting in the MaxSDK forum, so I’m assuming you’re interested in max plugin development. In this regard, I’m not sure that it’s possible to use managed c++ to build max plugins, but that’s not my area of expertise. I’d say you’re better off going unmanaged which is the supported and documented (somewhat :P) way of going about it.
What’s the first step? The first step is opening your max SDK docs, under the Programmer’s Guide, find the “Introduction” chapter. In that chapter, read the section “What you Need to Know”. Read this section well.
In addition to what it says, you should also have a firm understanding of Windows programming via the C API. For that I recommend 2 (vital) books:
“Programming Applications for Microsoft Windows” by Jeffrey Richter
and
“Programming Windows, Fifth Edition” by Charles Petzold
Actually, it seems the first book by Richter recently got updated, and the name changed, so you might be better off getting “Windows via C/C++” which is really the 5th edition to Programming applications for MS Windows. It’s pretty recent.
thanks scorpion007,yes i’m really going to make plugins for max and i thought that maxscript isn’t enough to stand mass and phisyic issues,so am i right?
drdubosc,i never had any experince in c++,only a little maxscript.
wamo , good luck mate it’s a long road I know Im on that very road now lol , just dont give up if it dont work out fist time
Hi, wamo, IMHO it will be worth investing some time learning the frame of mind for object-oriented programming, and C++ in particular, as well as the ‘landscapes’ of the code libraries you will be using.
One way to get a taste of it is by taking a look at some of Bruce Eckel’s book, Thinking in C++, which you can download as HTML:
http://www.mindview.net/Books/DownloadSites
Even if you don’t want to become the world’s greatest C++ programmer, the general knowledge will help figure out why some of the libraries are designed the way they are, and speed up your searches through help systems, etc, etc.
Maxscript is enough to do a lot of things. You should be more specific about what you want to achieve, and chances are it can be done perfectly well in MXS.
There are many times when the SDK is necessary though.
If you have no c++, you’ll spend most of your time learning the language and not adding the functionality you want. I’d suggest you do as much as you can in maxScript. Even if it’s slow, it’s much easier to develop (or find someone to develop) a tiny c++ component that just handles the computation than to do the whole mess in it. My ho, of course.
Totally agree. To make it worth learning C++ thoroughly, you would have to have your own good reasons to do it, in any case. Small components, you can probably make ‘cookbook’ style.