User Tools

Site Tools


notes:data:fall2023:projects:ttb1

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
notes:data:fall2023:projects:ttb1 [2023/09/16 20:48] – [REMOVING A NODE FROM THE LIST] jwielandnotes:data:fall2023:projects:ttb1 [2023/09/16 20:50] (current) – [REMOVING A NODE FROM THE LIST] jwieland
Line 72: Line 72:
  
 <code c> <code c>
-  deleteBrick(Brick** start-of-list, int x, int y) { +  deleteNode(Node** start-of-list, int x, int y) { 
-  Brick* current =*start-of-list; +  Node* current =*start-of-list; 
-  Brick* previous= NULL;+  Node* previous= NULL;
   while(current!=NULL){   while(current!=NULL){
     if (current_node->x == x && current_node->y == y) {     if (current_node->x == x && current_node->y == y) {
notes/data/fall2023/projects/ttb1.1694897331.txt.gz · Last modified: 2023/09/16 20:48 by jwieland