After running it, read why gets is bad and should never be used!
fgets on the other hand is just fine ;)
Type: Posts; User: std10093
After running it, read why gets is bad and should never be used!
fgets on the other hand is just fine ;)
The code itself is ok. Are you sure you have all the right compilers and settings? Can you run a "hello world"?