>>string authors [4];
I suggest you std::array, if you can. Then, return a const reference to it from GetAuthors.
Returning a pointer is extremely dangerous since the caller has no idea how large...
Type: Posts; User: Elysia
>>string authors [4];
I suggest you std::array, if you can. Then, return a const reference to it from GetAuthors.
Returning a pointer is extremely dangerous since the caller has no idea how large...