79080878

Date: 2024-10-12 11:18:11
Score: 1
Natty:
Report link

You can convert any valid integer type using std::string::c_str(), which is compatible with PCSTR.
std::string(DEFAULT_PORT).c_str() is the easiest way to do it, but you need to make sure to have the string header included: #include <string>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Asadullah Hamzah