title: is it possible to use a class as a return type of a the own method
body: <p>Is it possible to use a class as a return type of a class method (ErgbnisAusFortran) like this:</p>
  
  <pre><code>class ErgbnisAusFortran
  {
  public:
     ErgbnisAusFortran();
  private:
     int Var_a;
     int Var_b ;  
  public: 
     int getVar_a() const { return Var_a; }
     int getVar_res() const { return Var_res; }
  
     void setVar_res(int input)      {Var_res = input;}
     void setVar_a(int input)        {Var_a = input;}
  
     ErgbnisAusFortran calculateResults(EingabeWerte Ein);    
  };
  </code></pre>