Notifications
Clear all

[Closed] c++

hi guys,
i’m a rigger and want to start c++ beside of max script
and should i use c++.net or c++?
is there any difrence between them?
so what’s the first step?

11 Replies

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.

Cool, I’m just adding those to my library right now

Cheers
Shane

Do you already have experience in C++?

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

 JHN

Whe’re all on the same long road here I guess

-Johan

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.

1 Reply
(@drdubosc)
Joined: 10 months ago

Posts: 0

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.

Page 1 / 2