Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Pokedex_Assignment
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
a-j.towse
Pokedex_Assignment
Commits
8b023cf1
Commit
8b023cf1
authored
Jan 01, 2023
by
a-j.towse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pokemon list array added
parent
2b6fcd26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
main.c
main.c
+6
-4
No files found.
main.c
View file @
8b023cf1
...
@@ -27,12 +27,14 @@ typedef struct PokemonNode {
...
@@ -27,12 +27,14 @@ typedef struct PokemonNode {
struct
PokemonNode
*
prev
;
struct
PokemonNode
*
prev
;
};
};
typedef
struct
Player
{
//Create struct PlayerNode wiith name, pokemonCount, and an array of pointers to pokemon owned called pokemonList
//Create variables of type PlayerNode to store next and previous node in DLL
typedef
struct
PlayerNode
{
char
name
[
20
];
char
name
[
20
];
int
pokemonCount
;
int
pokemonCount
;
struct
Player
*
next
;
struct
Player
Node
*
next
;
struct
Player
*
prev
;
struct
Player
Node
*
prev
;
struct
PokemonNode
pokemonList
[];
};
};
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