Platform Independence: Variable Argument Lists
I am interested in creating my own function which has the following shell:
Code:
void strformat(char* buffer, const char* str, ...)
{
}
I want to be able to directly read the variable arguments without actually using ANY microsoft code. I want to completely do this using C++, no API's or anything.
I mainly want to do this for educational purposes, I'm really interested in learning how this works. I'm sure there's plenty of platform independent versions of this already, but I've already mentioned that I want to know this for educational purposes.
I would appreciate any help! Thanks.
--MrDoomMaster
--C++ Game Programmer
Don't forget to rate me if I was helpful!