Back to slide -- Keyboard shortcut: 'u'  previous -- Keyboard shortcut: 'p'                constructors-point-rectangle/more-about-constructs/prog1.cc - Point constructions - now OK.Lecture 4 - slide 7 : 40
Program 6

// Attempting construction of points. Now copy construction is OK.

#include <iostream>
#include "point1.h"

using namespace std;

int main(){
  Point p1{1, 2},
        p2{3},
        p3{p1};                     // OK: We can use the copy constructor.

  // use of points here
  // ...
}