title: beginner in c++ and i face this problem error C3867
body: <p>this my first c++ project by using classes and i face this problem
  error C3867</p>
  
  <p>my <code>main</code> code is</p>
  
  <pre><code>#include &lt;string&gt;
  #include &lt;iostream&gt;
  #include "Car.h"
  int main() {
    Car c1;
    c1.setMaker("Honda");
    c1.setModel(2018);
    cout &lt;&lt; "This Car Made By" &lt;&lt; c1.getMaker &lt;&lt; "\n";
    cout &lt;&lt; "This Car Model" &lt;&lt; c1.getModel &lt;&lt; "\n";
  }
  </code></pre>
  
  <p>the header is</p>
  
  <pre><code>#pragma once
  #include &lt;string&gt;
  using namespace std;
  class Car {
   private:
    string maker;
    int model;
  
   public:
    void setMaker(string m);
    string getMaker();
    void setModel(int m);
    int getModel();
  </code></pre>
  
  <p>the cpp is</p>
  
  <pre><code>#include "Car.h"
  
  void Car::setMaker(string l) { maker = l; }
  
  string Car::getMaker() { return maker; }
  
  void Car::setModel(int m) { model = m; }
  
  int Car::getModel() { return model; }
  </code></pre>
  
  <p>and this is the error message:
  <code>error C3867:  'Car::getMaker': non-standard syntax; use '&amp;' to create a pointer to member</code></p>
  
  <p>i've tried everything i know as a beginner but i can't make it work :( </p>