When I use this code:
An error comes up saying:Code:sound(2000,4000);
I am using DJGPP if that helps.too many arguments to function 'void
I tried it with and without void in the main int.
But the same error came up both ways.
Thanks, Cool-August.
This is a discussion on too many arguments to function 'void within the C++ Programming forums, part of the General Programming Boards category; When I use this code: Code: sound(2000,4000); An error comes up saying: too many arguments to function 'void I am ...
When I use this code:
An error comes up saying:Code:sound(2000,4000);
I am using DJGPP if that helps.too many arguments to function 'void
I tried it with and without void in the main int.
But the same error came up both ways.
Thanks, Cool-August.
Judging from your previous post, I think this code example should help.
Code:#include <windows.h> int main() { Beep(100,250); Beep(300,250); Beep(600,250); Beep(900,250); return 0; }
just what header is sound in anyway? it's not in dos.h as, uh, the other guy said in the last post.
i seem to have GCC 3.3.4
But how do i start it?
I dont have a menu for it or anything.
Well, that explains a lot then becouse that is the header that I was using.
don't waste much time on figuring it out, unless you actually have a real good reason to. it's not very fun to play with.
i seem to have GCC 3.3.4
But how do i start it?
I dont have a menu for it or anything.