Like so
#include <stdio.h>
#include <string.h>
int main ( ) {
FILE *fp = fopen( "input.txt", "r" );
char buff[BUFSIZ];
while ( fgets(buff,BUFSIZ,fp) != NULL ) {
Type: Posts; User: Salem
Like so
#include <stdio.h>
#include <string.h>
int main ( ) {
FILE *fp = fopen( "input.txt", "r" );
char buff[BUFSIZ];
while ( fgets(buff,BUFSIZ,fp) != NULL ) {