MCPcopy Create free account
hub / github.com/charles-wangkai/hackerrank / operator+

Function operator+

overload-operators.cpp:38–45  ·  view source on GitHub ↗

Overload operators + and << for the class complex + should add two complex numbers as (a+ib) + (c+id) = (a+c) + i(b+d) << should print a complex number in the format "a+ib"

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected