#include <stdio.h> #define N 255 void main() { char mem[N]; FILE * fil; int temp, k, length = 60; fil = fopen("D:\\FilesProjects\\1file.txt", "rt"); while (fgets(mem,N,fil)!=NULL) { if (strlen(mem) >= 60) printf("%s \n", mem); } fclose(fil); system("pause"); } Is it possible to remake this code so that it displays lines from a file of a certain length WITHOUT using arrays or strings? Really needed.