I figured out what was wrong. 2 typos. i<=b/2 instead of i=b/2 and
for(int i=0;i< counter-1;i++) instead of for(int i;i< counter-1;i++).
Thanks!
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 8 of 8
Threaded View
|
Click Here to Expand Forum to Full Width |