經安全檢測,此網站為安全網站,請放心前往原始網址!

read file into array - C Board

How would I read each line and put them into array of char? I have the folloing but need some advice on how to do it, please. ... while(fgets(line, sizeof line, infile) != NULL && i < MAXLINE) { printf("%s\n", line); readline[i] = malloc(strlen(line)+

cboard.cprogramming.com

網址安全性掃描由 google 提供