title: C++ Vector Operator Overloading
body: <p>I am trying to find a simple example program that overloads the following operators of a mathematic vector.</p>
  
  <pre><code>Constructor  // create
  
  = (equals)     // assign
  
  +; -; +=; -=   // add sub
  
  *; /; *=; /=   // multi divide
  
  ++; -- // plus minus
  
  ==    // compare
  &gt;; &gt;=
  &lt;; &lt;=
  
  []    // access a value
  </code></pre>
  
  <p>Cant seem to find any good simple tutorials. I emphasize the simple because I am only learning this stuff now. If someone could link me or even better program a simple overload for just one of the operators as an example would be incredible!</p>