What is the best way to use Sine waves in C++? Also, I want to, by inputting sine waves, generate a sound and vice versa. Is there a way to do this?
What compiler are you using? What OS?
You might try sound() which outputs a given frequency through the PC speaker. Just don't forget to call sound(0) when you're done or you'll have sound coming out of the speaker until you turn the computer off.