T
Travis
Is there a way to print out the name of the function calling another
function? For example:
void foo()
{
debugPrint("Beginning calculation...");
}
void debutPrint(string text)
{
cout << SOMETHING << text << endl;
}
so that i would get something like
"(foo) Beginning Calculation..."
function? For example:
void foo()
{
debugPrint("Beginning calculation...");
}
void debutPrint(string text)
{
cout << SOMETHING << text << endl;
}
so that i would get something like
"(foo) Beginning Calculation..."