Commit 77fe2389 authored by Jair Canelo's avatar Jair Canelo

update

parent 84b37ed2
File added
...@@ -66,8 +66,8 @@ void insert_pokemon(Pokemon** head, int number, char* name, char* type, int leve ...@@ -66,8 +66,8 @@ void insert_pokemon(Pokemon** head, int number, char* name, char* type, int leve
// copy values into the new Pokemon node // copy values into the new Pokemon node
new_pokemon->number = number; new_pokemon->number = number;
strcpy_s(new_pokemon->name, sizeof(new_pokemon->name), name); strcpy(new_pokemon->name, name);
strcpy_s(new_pokemon->type, sizeof(new_pokemon->type), type); strcpy(new_pokemon->type,type);
new_pokemon->level = level; new_pokemon->level = level;
// insert the new Pokemon at the head of the list // insert the new Pokemon at the head of the list
...@@ -86,7 +86,7 @@ void insert_player(Player** head, char* name, int score, Pokemon* pokemon_list) ...@@ -86,7 +86,7 @@ void insert_player(Player** head, char* name, int score, Pokemon* pokemon_list)
} }
// copy values into the new Player node // copy values into the new Player node
strcpy_s(new_player->name, sizeof(new_player->name), name); strcpy(new_player->name, name);
new_player->score = score; new_player->score = score;
new_player->pokemon_list = pokemon_list; new_player->pokemon_list = pokemon_list;
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.pokedex2</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
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