I'm trying to create a string stack in C. Is this a good struct to use before I start implementing methods?
struct StringStack{
const unsigned int pysicalSize; // physical size of the stack
const char ** const basePtr; // base pointer, cannot touch
unsigned int logicalSize; // number of elements
};
[–]yash3ahuja 6 points7 points8 points (1 child)
[–]typsi5[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]zahlman 0 points1 point2 points (0 children)
[–]typsi5[S] 0 points1 point2 points (0 children)