Commit 176839ca authored by elijah vasquez's avatar elijah vasquez 🦍

commit2

parent 53bb4d09
{
"files.associations": {
"functions.h": "c"
}
}
\ No newline at end of file
No preview for this file type
typedef struct Pokedex
{
struct PokemonNode *head;
struct PokemonNode *tail;
}Pokedex;
typedef struct PokemonNode
{
char pokemonName[15];
char pokemonType[15];
char pokemonAbility[30];
}PokemonNode;
typedef struct PlayerNode
{
char playerName[100];
int totalPokemon;
PokemonNode ptrArray[];
}PlayerNode;
// Pokemon List functions
PokemonNode* NewPokemonNode(char name[15], char type[20], char ability[30]);
void AddPokemonToList(Pokedex *pokedex, char name[15], char type[20], char ability[30]);
PokemonNode* FindPokemon(Pokedex pokedex, char name[15]);
// Player List functions
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include "functions.h"
typedef struct Pokedex
{
}Pokedex;
int main(void)
{
Pokedex pokedex;
return 0;
}
\ No newline at end of file
No preview for this file type
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