Thanks for the help. I was able to fix it and get the right answer with this code:
void towersHanoi(int disks, int start, int middle, int end)
{
if(disks>0)
{
towersHanoi(disks-1,...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Franco527 Search: Search took 0.02 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |