I want to output the function name each time it is called, I can easily copy and paste the function name, however I wondered if there was a shortcut that would do the job for me
__func__ is c99 ( which does in turn mean it might not work with visual studio - but hey it's standard :o) )
__func__
__FUNCTION__ works pretty much everywhere
__FUNCTION__
__PRETTY_FUNCTION__ is gnu specific and returns the full qualified name with (namespaces?), classname, returntype, functionname, parameterslist
__PRETTY_FUNCTION__