title: C++ prime number logic
body: <p>I'm creating a program that will output whether a number is prime or not. although, I'm trying to make it a little more complicated. I created a vector which I now want to store every prime number up to and including the number input by the user. </p>
  
  <p>And then for the number input by the user (i.e. if the user types 13) will return true for the function hence it is a prime number. Here are some examples:</p>
  
  <p>**U
          primechecker() : plist(2) {;}
          bool operator()(int);</p>
  
  <p>3 5 7</p>
  
  <p>then 3 5 6 7 7</p>