Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Divison by zero in GeAutoDynamicArray

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 189 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

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

      On 14/11/2008 at 07:07, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11 
      Platform:      
      Language(s) :

      ---------
      Hi! 🙂

      I have a small problem with GeAutoDynamicArray - can anyone help me?

      I use a struct:

      > \> typedef struct iDialogElement{ \>                iDialogElement() : name(""), type(0) {} \>                GeData name; \>                LONG type; \>      }DialogElement; \>

      as template in GeAutoDynamicArray. When I want to push something to the end of the array, this happens:

      ge_dynamicarray.h <- occurs at line [627]
      Do i have to set the blocksize manually?

      Thanks for your help.

      Good bye 🙂

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        On 18/11/2008 at 00:19, xxxxxxxx wrote:

        I can not confirm this, it is working fine here. My code:

        > \> struct iDialogElement \> { \>      iDialogElement() : name(""), type(0) {} \>      GeData name; \>      LONG type; \> }; \> \> typedef iDialogElement DialogElement; \> \> \> Bool MenuTest::Execute(BaseDocument \*doc) \> { \>      DialogElement dlgelmt; \>       \>      GeAutoDynamicArray<DialogElement> dlgelmtarr; \>       \>      dlgelmtarr.Push(dlgelmt); \>       \>      return TRUE; \> } \>

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          On 18/11/2008 at 00:25, xxxxxxxx wrote:

          Hi!

          Thats really strange, sometimes I believe Cinema 4D has an anti-shawni setting. 🙂

          I will check it again and fix my bug.

          Thanks Matthias..

          1 Reply Last reply Reply Quote 0
          • First post
            Last post