I have write a code to read data from a file and i try to put it in a queue but i don not know who to put in th queuue.IS anybody who can give an example???
my code is bellow:
if((fp=fopen("read.txt","r"))==NULL){
printf("\nERROR OPENNING THE FILE");
exit(1);
}
while(fgets(line,100,fp))
{
if (readline[0] == '0') {
if (strcmp(s,"input") == 0) {
printf("type_0");
}