I am reading off a fifo, and then I try to make a another array in different format out of it. I know buf gets its values as expected, since printing it out is good.
char graphic[100];
char buf[100];
read(fd_read,&buf,50);
for(int i=0; i<10; i++){
strcat(graphic, buf[i]); }
gives me error:
passing argument 2 of ‘strcat’ makes pointer from integer without a cast [-Wint-conversion]
I use eclipse on linux, on C. ...HELP?