Bonjour à tous !
Je suis entrain d'écrire un programme de compression selon la méthode de shannon-fano.J'ai un petit problème car je n'arrive pas à concaténer deux chaines de caractères.
voici l'erreur obtenue :
test1.c: In function 'codage':
test1.c:170: warning: passing argument 1 of 'strcat' makes pointer from integer without a cast
test1.c:174: warning: passing argument 1 of 'strcat' makes pointer from integer without a cast
Est ce que quelqu'un pourrait m'aider.
Je vous remercie par avance

Et voici la fonction qui bug :
void codage(char tab[],int tab_init[],int taille_tab_init){
int i,j;
int k;
char t;
char h;
k=chercher_indice( tab_init,taille_tab_init);
for(i=0; i<k ; i++){
t=tab[i];
strcat( t ,"0");
}
for(j=k; j < taille_tab_init ;j++){
h=tab[j];
strcat( h, "1");
}
}