title: Constructor setting all values to 0
body: <p>So from an assignment I have from school, I have to make a default constructor that is supposed to set all floats and ints to 0 and all strings to "NA".</p>
  
  <p>Earlier it was pretty easy I had to just do a constructor to set volume to 0, calories to 0 and etc.</p>
  
  <p>My question is,</p>
  
  <p>How does the syntax for setting all floats, and ints to 0 and trying to get strings to all say "NA"?</p>
  
  <p>This is what I had so far</p>
  
  <pre><code>class Candy {
  private:
      float sweetness;
  
  protected:
      string color;
  
  //CONSTRUCTOR//
  
      void setName(string n);
  
      void setFloat(float f);
  
      void setInt(int i);
  </code></pre>
  
  <p>This is on another cpp file we have to do.</p>
  
  <pre><code>Candy::Candy() {
  
  Candy(string n) {
      setName(n);
  }
  
  Candy bo("NA");
  }
  </code></pre>
  
  <p>Am I in the right direction? I am really new to this, and I am not very good with syntax. Thanks!</p>