Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pokedex.2
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
jair.canelo
pokedex.2
Commits
77fe2389
Commit
77fe2389
authored
Apr 04, 2023
by
Jair Canelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
84b37ed2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
3 deletions
+23
-3
pokedex2
pokedex2
+0
-0
pokedex2.c
pokedex2.c
+3
-3
Info.plist
pokedex2.dSYM/Contents/Info.plist
+20
-0
pokedex2
pokedex2.dSYM/Contents/Resources/DWARF/pokedex2
+0
-0
No files found.
pokedex2
0 → 100755
View file @
77fe2389
File added
pokedex2.c
View file @
77fe2389
...
@@ -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
;
...
...
pokedex2.dSYM/Contents/Info.plist
0 → 100644
View file @
77fe2389
<?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>
pokedex2.dSYM/Contents/Resources/DWARF/pokedex2
0 → 100644
View file @
77fe2389
File added
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