read stribg from txt file in c code example
Example: c read a whole string from a file
#define _GNU_SOURCE //Necessary for getline to work with clang in Ubuntu
getline(&line, &len, fp);
#define _GNU_SOURCE //Necessary for getline to work with clang in Ubuntu
getline(&line, &len, fp);