title: Making my own toString() method on c++ struct
body: <p>I'm used to oveerriding the Java toString() method on my own objects in classes, but I'm not sure where I'm going wrong with the following code: </p>
  
  <pre><code>    struct Student {
      std::string name;
      int age;
      double finalGrade;
  
      std::string toString() {
          return "Name: " + name + "\n Age: " + age + "\n Final Grade: " + finalGrade;
      }
  };
  </code></pre>
  
  <p>I'm only beginning to learn c++ so any advice would be appreciated</p>