— With struct ?
— What's the difference between array with fixed size and vector?
— Fixed ? did u mean static array ?
You cannot answer this question, until you know the difference, you are unable to know how to implement C++ vectors in C.
— You probably don't even know what is allocated storage duration because it's quite related to the question.
Message permanent page
— I'm out, just leave it at that.
— Thank God, go out. Nobody cares
— Because C existed before C++ 🤔😁
— Torvalds doesn't like C++
— Cause Linus really don't like C++, C is enough for him
— If cpp would be that good they would have rewritten kernel.
— I may be wrong though.
— There is virtually no reason to rewrite it