title: How can MATLAB function wavread() be implemented in C++?
body: <p>How do I implement the MATLAB function <code>wavread</code> in C++?</p>
  
  <p>It means read a <a href="http://en.wikipedia.org/wiki/WAV" rel="nofollow noreferrer">WAV</a> file into a vector array.</p>