Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Info604
col3-bibtp2
Commits
91703854
Commit
91703854
authored
Apr 08, 2020
by
pernelle
Browse files
Finish 2020.1.1
parents
d00d9858
3b33d980
Changes
2
Hide whitespace changes
Inline
Side-by-side
communCOL3-TP2.c
View file @
91703854
...
...
@@ -19,7 +19,7 @@
#include <unistd.h>
#include "communCOL3-TP2.h"
const
int
MATERIAUX_BALISTE
[
2
][
6
]
=
{{
10
,
5
,
2
,
3
,
1
,
4
},{
10
,
5
,
2
,
3
,
1
,
4
}};
/**
cette fonction lit une structure (armee) sur la socket (sock) et
...
...
communCOL3-TP2.h
View file @
91703854
...
...
@@ -19,6 +19,9 @@
/* type de balise (BLO= Baliste LOurde, BLE=Baliste LEgere) */
typedef
enum
{
BLO
=
1
,
BLE
=
0
}
type_baliste
;
extern
const
int
MATERIAUX_BALISTE
[
2
][
6
];
/* matériaux pour la construction des
balistes BLE et BLO */
/* structure d'une armmée composé de baliste */
typedef
struct
{
int
forge
[
TAILLE_MAX_ARMEE
];
/* num forge ou est produite la baliste*/
...
...
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