title: What is considered to be a punctuation sign? Not allowed to use ispunct()
body: <p>I need to count the number of punctuation marks in a string but without including cctype/ctype.h, without using</p>
  
  <pre><code>ispunct()
  </code></pre>
  
  <p>(Stupid question:) Are these all punctuation marks?</p>
  
  <p><strong>!"#$%&amp;'()*+,-./:;&lt;=>?@[]^_'{|}~</strong> found here: <a href="http://www.keil.com/support/man/docs/c51/c51_ispunct.htm" rel="nofollow">http://www.keil.com/support/man/docs/c51/c51_ispunct.htm</a></p>
  
  <p>Is 'space' also on the list? I only thought of <strong>?!,.;'"</strong> not <strong>$%^&amp;</strong>...</p>