Projet

Général

Profil

« Précédent | Suivant » 

Révision 132

Ajouté par Pape Demba AMAR il y a environ 3 ans

implémentation de la fonction trame_cmp

Voir les différences:

branch/AMAR/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=0;
while(type[i]!='\0')
{
i++;
}
while(j<1)
{
if(trame[j+1]!=type[j])
{
res=0;
}
j++;
}
return res;
}
//Fonction ? modifier !!!!!
void traitement(char * trame)

Formats disponibles : Unified diff