How to readline() from file, kind of FILE

How to read a line?

1
2
  char* file_name = (char*)"input.txt";
	FILE* f = fopen(file_name, "r");
Topic archived. No new replies allowed.