Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
COM5001M - Pokedex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar.harding
COM5001M - Pokedex
Commits
593cafc2
Commit
593cafc2
authored
Jan 17, 2022
by
oscar.harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pokedex.c
parent
48035c13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pokedex.c
pokedex.c
+3
-3
No files found.
pokedex.c
View file @
593cafc2
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment