Can one use standard C++ libraries?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/02/2003 at 13:19, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.012 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,
    I note that "direct system calls" are discouraged, but what about standard C++ library calls/classes (for strings, tokenization, math, etc).  One would imagine that ioStreams are not a good idea (?) and memory calls should be restricted to C4Ds, but let me know to what extent their use is possible.
    BTW, Astrofish's tutorial was very helpful to get a "toe or two" wet before diving into the C++ SDK completely.  More tuts would be very nice as I program almost completely in Java and rarely touch C++ these days.  My original goal was to migrate from programming to 3D CG completely, but it appears that a combination of the two has some merit. ;0)  So, it's going to take some time and assistance to change gears once again.
    Thanks,
    Robert Templeton



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/02/2003 at 14:59, xxxxxxxx wrote:

    In some contexts, for example rendering threads, system calls can be lethal. In others they are just discouraged since they make it harder to compile the plugin for both pc and mac. (If you don't use system calls it's a 30 second job to compile a second version.)
    Btw, I'm glad you decided to go with C++ instead of C.O.F.F.E.E. Makes my job so much easier... :-)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/02/2003 at 17:02, xxxxxxxx wrote:

    BTW, Astrofish's tutorial was very helpful to get a "toe or two" wet before diving into the C++ SDK completely.  More tuts would be very nice as I program almost completely in Java and rarely touch C++ these days.  My original goal was to migrate from programming to 3D CG completely, but it appears that a combination of the two has some merit. ;0)  So, it's going to take some time and assistance to change gears once again.
    -------------------------------
    Oh I know this feeling! I only did basic C++ stuff (my brother forced me to ;) but almost only Perl! And although I did a lot with COFFEE before and could tell the COFFEE docs almost by heart, it was very hard to get into the C++ SDK. Glad too you changed your opinion anyway and now get with C++.


Log in to reply