MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / main

Function main

week10/examples/stringdemo.cpp:4–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <string>
3
4int main()
5{
6 std::string s("Hello ");
7 s += "C";
8 s.operator+=(" and CPP!");
9
10 std::cout << s << std::endl;
11 return 0;
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected