MCPcopy Create free account
hub / github.com/boostorg/asio / make_daytime_string

Function make_daytime_string

example/cpp11/tutorial/daytime5/server.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17using boost::asio::ip::udp;
18
19std::string make_daytime_string()
20{
21 using namespace std; // For time_t, time and ctime;
22 time_t now = time(0);
23 return ctime(&now);
24}
25
26int main()
27{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected