So I want to read a file, and i should have 4 functions:
it is the main function
/* Queue functions */
/* Basic type for the queue data structure */
typedef struct queue {
node *front; /* Front of the line */
node *rear;
/* Back of the line */
} queue;
Sorry, I compiled wrongly, it works now.
For
str2cardandcard2strthe prototype and the actual function differ. They must be the same. Probably the same with the other too.You have prototypes here:
and later the functions: