title: Default argument of type "const char *" is incompatible with parameter of type "char *"
body: <p>So I got this code from my teacher but it doesn`t work combined with other code, it works only if it is separatly in a project. The whole code works great, less this part</p>
  
  <p>"Notes" is an other class which works perfectly</p>
  
  <pre><code>class student
  {
      char name[30];
      notes marks;
  public:
      student(int = 8, char* =" "); //HERE IS WHERE I GOT THE PROBLEM, AT HIS CHAR*
      ~student();
      void read_name();
      void read_marks();
      void modif_mark(int, double);
      void print();
      void check_marks();
  };
  
  /*...
    ...
    ...
  *here is a lot of code working great*
    ...
    ...
    ...
  */
  
  student::student(int nr_marks, char* sir) :
      marks(nr_marks)
  {
      strcpy_s(name, sir);
  }
  </code></pre>