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

4 Posted Topics

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
2K
Member Avatar for rculley1970

...and you capitalized every noun in your sentences as well as misspelled "bite."

Member Avatar for Member #46692
0
109
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
288
Member Avatar for AhmedHan

set "-masm=intel" and compile this: [code]void flipIt(void* buffer) { static void* b asm("b") = buffer;// Ukazatel na buffer asm(// ASM kód "mov ecx, 256*256;" "mov ebx, b;" "label:;" "mov al, [ebx+0];" "mov ah, [ebx+2];" "mov [ebx+2], al;" "mov [ebx+0], ah;" "add ebx, 3;" "dec ecx;" "jnz label;" ); }[/code] AT&T …

Member Avatar for fluidDelusions
0
1K

The End.