Difference between revisions of "C++"
From NoiseWiki
Jump to navigationJump to searchm (Reverted edits by Ijotohywun (talk) to last revision by Gordon) |
(No difference)
|
Latest revision as of 13:36, 23 November 2010
"Hello Noise" code example
#include <iostream>
#include <stdlib>
using namespace std;
int main ()
{
int hertz;
cout << "Hello Noise! \n";
randomize();
while(1){
hertz=random(22030)+20;
sound(hertz); // this may need debugging.
}
return 0;
}