Révision 635
Ajouté par annoyau il y a presque 4 ans
main.c | ||
---|---|---|
if ((lat_R != memo_L) || (lon_R != memo_l))
|
||
{
|
||
calcul_distance(lat_R,memo_L,lon_R,memo_l);
|
||
printf("bite2 :%ld\n",memo_L);
|
||
printf("bite1 :%ld\n",memo_l);
|
||
printf("Test2 :%ld\n",memo_L);
|
||
printf("Test1 :%ld\n",memo_l);
|
||
}
|
||
memo_L = lat_R;
|
||
memo_l = lon_R;
|
||
... | ... | |
long deltat_lon = lon1 - lon2;
|
||
int distance = sqrt(pow(delta_lat,2)+ pow(deltat_lon,2));
|
||
|
||
printf("SAlope : %d\n",distance);
|
||
printf("Test_dist : %d\n",distance);
|
||
}
|
||
void decode_trame(p_tab *p1, char *trame)
|
||
{
|
Formats disponibles : Unified diff
Changement printf