fork(3) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. #define KLASS_NAME "Global"
  5.  
  6. int main()
  7. {
  8. std::string msg = std::string(KLASS_NAME) + "::" + __FUNCTION__;
  9. std::cout << msg << std::endl;
  10. }
  11.  
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
Global::main