Answers for "c++ method name"

C++
0

c++ method name

// EXAMPLE: if you are in a function/method called YourMethod()
std::cout << "Current function: " << __FUNCTION__; // OUTPUT: Current function: YourMethod

// SYNTAX
// __FUNCTION__
Posted by: Guest on June-19-2020

Browse Popular Code Answers by Language