Thank you for your detailed response, Banfa. I'll fix that.
Regards,
rethab
User Profile
Collapse
-
the last character on the line where you initialize 'output' is a +. remove it!Leave a comment:
-
fgets / buffer issue
Hi there
I'm facing some issue which I can't identify.
I have a structure 'album'. I try to read two albums from standard input. The first one works perfectly fine, but on the second one, it appears like this:
somehow, I can't enter a title, since 'band:' is already there..
I use this function to read an album:
...Code:void read_alb(struct album *alb) { char buffer[MAX];
No activity results to display
Show More
Leave a comment: