Skip to content

Unable to create dynamic arrays (i.e. size not known at compile time) #14

@brewmanz

Description

@brewmanz

I can write code like
smart char* pStrA = (char*)smart_arr(UNIQUE, char, 64);
but not
smart char* pStrA = (char*)smart_arr(UNIQUE, char, myArraySize);
Can you give me any ideas what I need to do? Either with using csptr, or changing it.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions