Different platforms and OSs will have differing requirements, of course. I would include string.h anyway. It may not make a difference with this tiny program but if you push through and get into...
Type: Posts; User: CommonTater
Different platforms and OSs will have differing requirements, of course. I would include string.h anyway. It may not make a difference with this tiny program but if you push through and get into...
See the text I colored red above...
When you put a semi-colon after an if statement like that, it ends up doing nothing.
Also the orphaned else is not going to work either.
Try it like...