0
getline , ssize_t not working
Hello friends, I am using Code Blocks 17.12 MinGW GNU GCC Compiler, using getline and ssize_t in my C program but getting error. Because of compiler, read that _GNU_SOURCE required for this. Could you please anyone explain what is that and who to install.
1 Odpowiedź
+ 2
Write #define _GNU_SOURCE at the top of your code if you haven't already or check if you included right libraries