User profile: dhayden

User info
User name:dhayden
Number of posts:421
Latest posts:

Memory leaks
[quote]yea but at least is a lot more obvious where the issue might be with vectors. [/quote] How so...

Binary Search
Don't you need to search forward also? Once you find an element that's equal, there could be more e...

Need help with sine waves
Here's another approach. If numSpaces == 30 then print '*'. The idea is that if you're printing on ...

Need help with sine waves
[code]#include <cmath> ... int ch; deriv = cos(angle); if (fabs(sinVal) < 0.001) ch = '0'; // pick...

Explain the glitch
Please use code tags to highlight code. The differenence is that [code]sum = sum+j,j++[/code] is an...