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 |
Search:Type: Posts; User: math8 Search: Search took 0.02 seconds.
Results 1 to 4 of 4
|
Click Here to Expand Forum to Full Width |