Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 13
c x 1
Member Avatar for fluidDelusions

Hello! I'm having a very difficult time with this problem. What I'm trying to do is generate a sine wave for a specific frequency and output it as raw pcm data to a file. The sine wave is generated as follows: [code] samples[i]=static_cast<int>(32767 * amplitude * sin(static_cast<double>(i)*scale) ); [/code] where …

Member Avatar for ims
0
1K
Member Avatar for rculley1970

I am using Visual C++ 6.0 and am getting, "error C2447: missing function header (old-style formal list?)" The code is: #include <stdafx.h> { int main (); printf("Fuck off Asshole.\n You suck. \n Bit Me Dickhead\n"); return 0 } I cannot figure out what is going wrong.

Member Avatar for iamthwee
0
106
Member Avatar for fluidDelusions

Suppose I have a class, Animal, that contains the virtual method eat(). Now suppose Dog is derived from Animal, and also implements eat(). Now somewhere else, I have a class Barn with a feed method that takes Animal& as a parameter. How can I force class Barn to call Dog's …

Member Avatar for NosKills
0
260
Member Avatar for AhmedHan

I am using BloodshedDev-CPP GNU. Assembly codes are written in this format : int Variable=45; /*a random value*/ __asm(mov %ax,_Degisken); The crap compiler uses 'AT&T Assembly Syntax'. The problem is I don't know that AT&T stuff and I want to call some interrupts in my program. In the [I]normal[/I] assambly …

Member Avatar for fluidDelusions
0
1K