Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
All the put* functions are working fine as I've unit tested each of those, but when I try to parse any va statements all I get printed is a solid right facing arrow head.
va_start(pt, fmt);
// And don't forget at the end of your function!
va_end(pt);
Furthermore I'm not entirely happy with your if(args), if I recall correctly you *have* to do the va_start / va_end combination if you declared your function that way, otherwise your compiler could make nasty mistakes. Then again, you might just get away with it
For a proper example you might want to have a look on this website.
That's great thanks. I had come across that website but I'd misunder stood how the va_start was being called for some reason. It's all working nicely now tho thank you