getline , ssize_t not working | Sololearn: Learn to code for FREE!

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.

12/22/2018 4:37:34 PM

Syam Kumar

1 Answer

New Answer

+2

Write #define _GNU_SOURCE at the top of your code if you haven't already or check if you included right libraries