title: Conversion from 'int' to non-scalar type 'Point" requested
body: <p>I have to create a program where a chutist jumps from a plane. The user inputs the altitude and the time when the chutist will open its parachute. I haven't finished all my code, just wanted to know if it can run before I go any further but I always get this error (Conversion from 'int' to non-scalar type 'Point" requested). We are also using the Hortsmann libraries which I am very new to. Anyone knows what this error means and what can I do to fix any error of this kind? If you don't understand my question, please tell me.
      Here is the code:
      #include "ccc_win.h"
      #include </p>
  
  <pre><code>using namespace std; 
  
  class Chutist{
  public:
   Chutist(); 
   Chutist(Point loc); //constructor where chutist always points up
   void display (int i, int s) const; //accessor function, displays chutist
   void move (int dx, int dy); // mutator function, moves chutist
  private:
   Point jumpman;
   Point location; // location of chutist
  };
  
  //default
  
  Chutist::Chutist(){
     location = Point (0, 0);
  }
  
  //construction of Chutist object at Point loc;
  
  Chutist::Chutist(Point loc){
      jumpman = loc;
  }
  
  void Chutist::display(int i, int s) const{
    if (s &lt; i){
       Point top = (jumpman.get_x(), jumpman.get_y());
       Circle c = (top, 10);
       cwin &lt;&lt; c;
   }
  }
  
  void Chutist::move(int x, int dy){
  }
  
  
  
  int ccc_win_main(){
     cwin.coord(0, 2000, 2000, 0);
     int loc;
     int altitude = 0;
     int secondstoopen = 0;
     int velocity = 0;
     cout &lt;&lt; "Please enter the altitude to jump at." &lt;&lt; endl;
     cin  &gt;&gt; altitude;
     cout &lt;&lt; "Please enter the time to open the parachute." &lt;&lt; endl;
     cin  &gt;&gt; secondstoopen;
     Chutist jumper = Chutist(Point(0, altitude));
     jumper.display(secondstoopen);
  }
  </code></pre>