je doit rassembler les valeur d'uun tableau a 2 dim pour en faire un tableau a une dim!
voila le code qui me pose probléme
void Btn (GtkWidget *widget,gpointer data)
{
MainWindow *pApp;
char *tmp;
int a,b;
pApp = (MainWindow*) data; //mainwindows c ma structure
...
tmp=(char*)calloc(126+1,sizeof(char));
for(b=0;b<=6;b++)
for(a=0;a<=17;a++)
strcat(tmp,pApp->pTa[a][b].valeur); /*erreur ici*/
//passing arg 2 of strcat makes pointer from integer without a cast !
gtk_entry_set_text(GTK_ENTRY(pApp->pEntry),tmp);
}
alors que si je fé uun g_print sur une valeur au hasard de mon tableau , j arrive a bien la lire!bizard bizard
merci