Sound input and output

How to input and output sound using c++? Like recording sound then play the sound. I want to make a sound recorder.
Topic archived. No new replies allowed.