Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
cs-142:byu-acm-tournament-tracker [2015/05/21 12:57]
cs142ta created
cs-142:byu-acm-tournament-tracker [2015/05/21 12:59]
cs142ta
Line 328: Line 328:
  cout << "ADD A TEAM" << endl;  cout << "ADD A TEAM" << endl;
  string name_to_add = prompt_and_get_string("​Team to add: ");  string name_to_add = prompt_and_get_string("​Team to add: ");
- size = add_team(names,​ size, name_to_add);​+ size = add_team(names,​ size, name_to_add); ​// remember to update the size here
  }  }
  else if (choice == 2)  else if (choice == 2)
Line 335: Line 335:
  cout << "​DELETE A TEAM" << endl;  cout << "​DELETE A TEAM" << endl;
  string name_to_delete = prompt_and_get_string("​Team name: ");  string name_to_delete = prompt_and_get_string("​Team name: ");
- size = delete_team(names,​ size, name_to_delete);​+ size = delete_team(names,​ size, name_to_delete); ​ // remember to update the size here
  }  }
  else if (choice == 3)  else if (choice == 3)
cs-142/byu-acm-tournament-tracker.txt ยท Last modified: 2015/05/21 13:02 by cs142ta
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0