You have posted the same request at this article:
A Simple Speech Application Using SAPI 5.1 SDK[
^] - but since that was written 7 years ago, and his last input to the site three years ago, there is a good chance he is not supporting it any further. Besides, things have moved on in the intervening years...
Since your homework is due very soon - from your post at the article - I strongly suggest that you start with Google, and then indulge in some Midnight Oil: I think you will need it!