-
Chicken sound
THis program originally submitted by doubleanti does not work with Microsoft Visual C++,
#include <dos.h>
int main(void)
{
sound(7);
delay(10000);
nosound();
return 0;
}
which are the header files to make this work besides
stdafx.h
iostream.h
i would really like to make this program as a joke and is there any way you can change the 7 to something higher that we could hear. I would appreciate any input on this subject, thank you
-
You can't compile a DOS program with MSVC++. You can make console apps, yes, but not DOS programs.
Go to borland.com and download Turbo C++ v1.0.
Good luck :)