I'm curious if this can work somehow? My goal would be having a dynamic string structure and have functions that operate it more extensively than the standard library. However, I don't want to delete a string after going out of scope every time. Is there any way for strcpy() to copy a value into a String.text? I'm getting an access violation exception right now when it enters strcpy().
typedef struct tagString
void String_SetText(String *ob, const char *value)
char *String_GetText(String *ob)
String_SetText(&str, "Hello World!");