I want to build a simple program which gets input as voice.
The main idea is to record once a voice command, and from then to receive voice inputs.
if the voice input is similar to the recorded files, an action will be made.
Man, voice recognition is waaay too hard for single, inexperienced person. Have you looked at Microsoft Vista Speech recognition demo? It went nuts, and I assure you, bunch of people worked on it for it to work properly and "shit happened".