Projet

Général

Profil

« Précédent | Suivant » 

Révision 140

Ajouté par Massamba FALL il y a environ 3 ans

question 4 ok

Voir les différences:

branch/fall_massamba/sp4a12/main.c
"$GPVTG,99.4,T,,M,0.4,N,0.7,K*57",
"$GPZDA,141914.00,01,02,2006,00,00*69",
0};
int trame_cmp(char*trame,char*type)
{
int i =0, j=0, res=1;
while(type[i]!='\0')
{
i++;
}
while(j<i)
{
if(trame[j+1]!=type[j])
{
res =0;
}
j++;
}
return res;
}
//Fonction ? modifier !!!!!
void traitement(char * trame)//https://forge.uca.fr/svn/https-forge-uca-fr-svn-polytech-ge-sp4abc-2022/branch/fall_massamba
{
static int cpt=0;
static int cpt=0;https://forge.uca.fr/svn/https-forge-uca-fr-svn-polytech-ge-sp4abc-2022/branch/fall_massamba
cpt++;
printf ("> %s\n",trame);

Formats disponibles : Unified diff