Listing 3
using namespace System; int main() { Point::TraceID = true; Point p1, p2(3,7), p3(9,1), p4 = p2; Console::WriteLine("p1 = {0}", p1); Console::WriteLine("p2 = {0}", p2); Console::WriteLine("p3 = {0}", p3); Console::WriteLine("p4 = {0}", p4); p2 = p1; Console::WriteLine("p2 = {0}", p2); }