Some questions

Hi all, not sure if I posted in right section of forum but I have some questions for you all.

1. how do I make c++ not wait for enter after cin?
2. is there any way that I can say something in Mic. and c++ write it into vector? Or record what I said and compare it to another wave file? some kind of strcmp for audio files?
3. what code can I use to control servo motors that are on USB ports?
1. You can use cin.get(), I believe. Or getch() in the conio.h header

2. Yes.

3. You'll need a library. It's fairly complicated.
Thank you for the answers:). for 1 I can do a little research on those 2 functions you gave me ty.

For 2,firstly yes is for what? writing from Mic. to vector or comparing to audio files?
In any of the to cases can you tell me how to implement?..a code or something?

For 3 some names for the libraries? So I can try to find out more about them?:)
Last edited on
2. Yes to your question. Yes there is a way. I believe the BASS library allows you to use mics.

3. I cannot, I can however tell you that you can use an arduino as a mediator between the two. A little bit of googling will treat you well.
ok ty for the answers so far this would get me going on making my little project work...didin't get the exact answers I was looking for but this is enough. If anyone got other answers to the main questions i'm all ears.
Topic archived. No new replies allowed.