Commit 593cafc2 authored by oscar.harding's avatar oscar.harding

Update pokedex.c

parent 48035c13
......@@ -8,8 +8,8 @@ Pokedex *const pokedex;
main()
{
printf("test");
return 0;
AddPokemonToList(pokedex, "Pikachu", "Electric", "Static");
AddPlayerToList(pokedex, "Ash");
}
PokemonNode* NewPokemonNode(char name[50],char type[50],char ability[50])
......@@ -277,4 +277,4 @@ void ListPlayers(Pokedex pokedex)
}
strcpy(tempName,temp->playerName);
printf(temp->playerName);//print the last node's name
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment