Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProjetSynthese
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Arrêt du service - 27/06 de 07h45 à 08h00 - Mise à jour de sécurité
Show more breadcrumbs
BOURNAT Martin
ProjetSynthese
Commits
9be0ff1d
Commit
9be0ff1d
authored
5 months ago
by
BOURNAT Martin
Browse files
Options
Downloads
Patches
Plain Diff
Changements Mineurs
parent
091f95b8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
canevas/src/algo.c
+2
-12
2 additions, 12 deletions
canevas/src/algo.c
with
2 additions
and
12 deletions
canevas/src/algo.c
+
2
−
12
View file @
9be0ff1d
...
@@ -56,19 +56,9 @@ struct Segment* to_segment(const char* string)
...
@@ -56,19 +56,9 @@ struct Segment* to_segment(const char* string)
{
{
char
*
partie1
=
strtok
(
string
,
" "
);
char
*
partie1
=
strtok
(
string
,
" "
);
char
*
partie2
=
strtok
(
NULL
,
" "
);
char
*
partie2
=
strtok
(
NULL
,
" "
);
char
*
partie3
=
strtok
(
NULL
,
" "
);
char
*
partie4
=
strtok
(
NULL
,
" "
);
char
p1
[
64
]
=
""
;
struct
Point
*
endpoint1
=
to_point
(
partie1
);
strcat
(
p1
,
partie1
);
struct
Point
*
endpoint2
=
to_point
(
partie2
);
strcat
(
p1
,
partie2
);
char
p2
[
64
]
=
""
;
strcat
(
p2
,
partie3
);
strcat
(
p2
,
partie4
);
struct
Point
*
endpoint1
=
to_point
(
p1
);
struct
Point
*
endpoint2
=
to_point
(
p2
);
struct
Segment
*
result
;
struct
Segment
*
result
;
if
(
point_precedes
(
endpoint1
,
endpoint2
))
if
(
point_precedes
(
endpoint1
,
endpoint2
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment